Click here to Skip to main content
15,914,416 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Why Doesnt This Work Again? Pin
Ryan B.30-Jul-02 9:34
Ryan B.30-Jul-02 9:34 
GeneralRe: Why Doesnt This Work Again? Pin
Colin Leitner30-Jul-02 9:48
Colin Leitner30-Jul-02 9:48 
GeneralRe: Why Doesnt This Work Again? Pin
Jason McBurney31-Jul-02 11:28
Jason McBurney31-Jul-02 11:28 
GeneralGetting events from a web page. Pin
Ray Cassick30-Jul-02 4:11
Ray Cassick30-Jul-02 4:11 
GeneralRe: Getting events from a web page. Pin
Colin Leitner30-Jul-02 9:30
Colin Leitner30-Jul-02 9:30 
QuestionHow to FTP in VB.Net? Pin
Felix200229-Jul-02 18:40
Felix200229-Jul-02 18:40 
Generaladd object to listbox Pin
mgriffith29-Jul-02 5:48
mgriffith29-Jul-02 5:48 
GeneralRe: add object to listbox Pin
Colin Leitner30-Jul-02 9:13
Colin Leitner30-Jul-02 9:13 
The first approach was the right one, but you have to use

lstboxMyListBox.Items.Add(New Asdf().ToString())

Now this will work fine, but you cannot access the class anymore after that!
I think you wanted to add a set of classes to a listbox and access these classes afterwords again and let the listbox use the ToString() function to display them correct, but listbox will only accept strings. You would have to use a collection too:

Dim my_asdf As New Asdf()

colMyCollection.Add my_asdf
lstboxMyListBox.Items.Add my_asdf.ToString()
GeneralRe: add object to listbox Pin
mgriffith30-Jul-02 9:19
mgriffith30-Jul-02 9:19 
GeneralClipboardproblems = ( Pin
Anonymous27-Jul-02 0:50
Anonymous27-Jul-02 0:50 
GeneralWebBrowser Pin
Anonymous26-Jul-02 9:34
Anonymous26-Jul-02 9:34 
GeneraloverFlow... Pin
Anonymous25-Jul-02 22:08
Anonymous25-Jul-02 22:08 
GeneralRe: overFlow... Pin
SimonS25-Jul-02 23:35
SimonS25-Jul-02 23:35 
GeneralRe: overFlow... Pin
Anonymous26-Jul-02 0:25
Anonymous26-Jul-02 0:25 
GeneralRe: overFlow... Pin
SimonS26-Jul-02 2:16
SimonS26-Jul-02 2:16 
GeneralRe: overFlow... Pin
Anonymous28-Jul-02 18:07
Anonymous28-Jul-02 18:07 
GeneralVery strange stuff.. Pin
Ray Cassick25-Jul-02 20:16
Ray Cassick25-Jul-02 20:16 
GeneralRe: Very strange stuff.. Pin
Richard Deeming26-Jul-02 5:39
mveRichard Deeming26-Jul-02 5:39 
GeneralRe: Very strange stuff.. Pin
Ray Cassick26-Jul-02 9:07
Ray Cassick26-Jul-02 9:07 
GeneralMessage Handler in VB.NET Pin
JGraves25-Jul-02 11:11
JGraves25-Jul-02 11:11 
GeneralRe: Message Handler in VB.NET Pin
Richard Deeming26-Jul-02 5:53
mveRichard Deeming26-Jul-02 5:53 
GeneralRe: Message Handler in VB.NET Pin
JGraves26-Jul-02 8:46
JGraves26-Jul-02 8:46 
GeneralRe: Message Handler in VB.NET Pin
Richard Deeming29-Jul-02 1:21
mveRichard Deeming29-Jul-02 1:21 
GeneralRe: Message Handler in VB.NET Pin
JGraves29-Jul-02 4:18
JGraves29-Jul-02 4:18 
GeneralComboBox - MultiColumn Pin
mikasa24-Jul-02 2:52
mikasa24-Jul-02 2:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.