tsouthar
Member
- Joined
- Jan 29, 2007
- Messages
- 10
- Programming Experience
- 3-5
Hi,
Here is what I have... I have an FTP class with a bunch of functions in it, and everytime it recieves or sends a command to the FTP server, I have it go to a 'AddToLog' Function. This function is supposed to update the main form list box so I do a listbox.items.add(message). It doesn't add it to the list box.
I have the
Inherits System.Windows.Forms.Form in the class
i have the main form defined in that class as
Dim LogWindow As New Form1
so I call the list box by
LogWindow.listbox.items.add(message)
but it doesn't update the listbox or refresh the form. any thoughts?
Tim
Here is what I have... I have an FTP class with a bunch of functions in it, and everytime it recieves or sends a command to the FTP server, I have it go to a 'AddToLog' Function. This function is supposed to update the main form list box so I do a listbox.items.add(message). It doesn't add it to the list box.
I have the
Inherits System.Windows.Forms.Form in the class
i have the main form defined in that class as
Dim LogWindow As New Form1
so I call the list box by
LogWindow.listbox.items.add(message)
but it doesn't update the listbox or refresh the form. any thoughts?
Tim