how to pass listbox as parameter in vb.net?

Joined
Jul 8, 2006
Messages
1
Reaction score
0
hi
i've tried using

Public Function Collectibles(ByVal listboxname As listbox)
End Function

but it couldnt work.
it ccame out with this error msg.
"type 'listbox' is not defined"
anyone know how to make this work?
 
xxradiantxx said:
hi
i've tried using

Public Function Collectibles(ByVal listboxname As listbox)
End Function

but it couldnt work.
it ccame out with this error msg.
"type 'listbox' is not defined"
anyone know how to make this work?
Come out of the application, turn off the pc, get a beer, open it up & sit back and enjoy. :D
 
declare listbox name as array, then call it passing in the forms listbox...i dont think listbox is a existing object you can declare
 
Back
Top