add a class to a listbox

i am trying to create a class and add it's instances to a listbox. it works to add the instances to the listbox, but it crashes when it displays to form. so i supose my class must have an property or something like toString in java or c#. but everything i tryed doesn't work. Just as a test i added to the list box a commandbutton and it worked... so it has to be something:D
pls help
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!