Search results for query: *

  • Users: bfsog
  • Content: Threads
  • Order by date
  1. B

    Using FtpWebRequest to download a file from ftp server

    Hello. I am trying to download a file which is on an FTP Server. Lets say I own Website A and Website B. In Site A in a folder named foobar I have a file named download.aspx and in that file I want to have code that downloads a file in Website B called lorem.txt I want the file to be saved...
  2. B

    Datagrid not updating with the correct data returned

    I have a form with a datagrid and on form load a datagrid is populated with data, this works. Then I have some code in an event handler which changes the data in the datagrid, this data is also retrieved from the database, this works. But then I have another event handler with some database...
  3. B

    Listview: starting process and populating correct value

    [resolved] Listview: starting process and populating correct value This really is not a listview issue, although both stem from using a ListView. First problem: I am creating a file search tool and I want the files returned to be double clickable. When a ListViewItem is double clicked I want...
  4. B

    creating line graphs

    Hey, Are there any controls that make produce line graphs? I have done some digging, and found it's common to use a PictureBox. Next question, are there any well known chart creating classes, the examples that I have found online are very code heavy, My requirement is to give the...
  5. B

    send message to msn client

    send message to msn contact Hey. First off I do not know if this is the right place to post as I do not know what it is called. What I am stuck on is having an application, which sends a message (of my choice) to a contact on my msn messenger list, when they sign in. The application does not...
  6. B

    Printing a datagrid

    Hi. A friend is struggling to get this to work. I am using this: http://www.codeproject.com/vb/net/DataGrid_Printing_Class.asp He has checked and the correct information gets passed through the function but a blank page is printed. Also the print preview shows nothing.. Its in the form...
  7. B

    Creating module for others

    Hey. Lets say I create a sample project, which has 2 modules in it. One defines global variables, and the other includes 5 functions. Lets say I want to put these 2 modules in a .zip/.rar file for others to use. 1: Do I just include the module files, or are there other files that the module...
  8. B

    beginners guide to creating components

    Hi. Am I right in assuming that if I developed a component, other developers could use it? And how do I go about creating a component? And how do I link/call this component from a project? Thanks in advance for any info on these subjects.
  9. B

    Printing a word file

    Hi guys. Is it possible to print a word file (.doc) using VB.NET? The file does not have to be opened on the form. Preferably the file will print on a button_click event. Thanks in advance
  10. B

    Get a max value from a column

    Hey. I am trying to return a value from a column if it is the highest value in all rows. However, if there is 2 or more rows with the same max value, I use a for loop to extract that rows Name (Name is a column) But.. iMaxBreaks is always 0. So it only returns rows that the column...
  11. B

    Save Image Help

    I am trying to create a program that lets users draw on a picture box, and then save it, when the user clicks Save (button). However, when I try and save, the dialog box erases the stuff drawn on the Picturebox. Heres my save code Try With pic .Filter = "Images (*.jpg)|*.jpg|" &...
  12. B

    Open With... help

    Lets say you have a text file, on a windows based OS. You right click it and choose Open With, and choose a text editor. The text editor opens with the given file. I created a text editor, but when I done the above the editor opens but the file is not. Anyone know how this is done? Thanks in...
  13. B

    Increment column in a table

    Hi. When a button is pressed, I need to add 1 to a column, called Last_Break I tried Me.OleDbUpdateCommand1.CommandText = "UPDATE users SET Last_Break=Last_Break+1 WHERE Username='" & sCurName & "'" ' It does not throw an error but the column is not updated. Any ideas? TIA
  14. B

    Some chat program advice..

    Im toying with the idea of creating a chat room. My thinking: I would have a database on some webspace, and the app would send/receive to/from there. Some questions: 1: can a .net app pull/insert data from a database from a web server? 2: can a .net app create a database table (such as...
  15. B

    Delete By Id

    Hi, I have a table with a column called id, which is an integer. I am trying to delete a record by passing in the id. I get an exception error. Dim dst As New DataSet If txtIdNum.TextLength > 0 Then Dim id As Integer = CInt(txtIdNum.Text) ' start of database code here...
  16. B

    tooltips tab text

    Lets say I have three tabs, their text is "google", "yahoo", "msn" when the user hovers over google, the text google is shown in tooltip, also with the other 2 show their correct text. But if they are in the yahoo tab, but not on the tab text, can i not make the tooltip show? So only show the...
  17. B

    complex select statement help...

    Hey. I need help with a select statement. In my table "users" I have a last_login field, which type is date I need to select all users who have logged in in the current month. For instance, if user bob and user santa last_login value is between the 1st of a month and the last day of a month...
  18. B

    Trying to delete a file if exists

    I am creating a backup of a access database. The user selects the file to copy, and that file is saved in c:\autotime\backups\ If the user selects a file called test.mdb and in c:\autotime\backups\ theres a test.mdb a messagebox is displayed with yes no buttons. if yes is pressed, delete that...
  19. B

    Create chm file

    I know how to add a .chm file to a project, and I know HTML, but I was wondering, coukd someone post some sample code from a help file that you have made yourself? It does not have to be very detailed, its just to give me somewhere to work from. Thanks in advance
  20. B

    Does this code count how many records..

    My table can only have a set number of records (in this case 25), so I am trying to count how many rows there are in a table. Does this code do that? Me.con.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & Application.StartupPath & "\users.mdb" dta = New...
Back
Top