How to get the handle of a ListBox control in VB.NET 2005?
I am using
Dim i_Handle As ListBox
i_Handle = ListBox1.Handle
But this is not working
vb.netwinforms
How to get the handle of a ListBox control in VB.NET 2005?
I am using
Dim i_Handle As ListBox
i_Handle = ListBox1.Handle
But this is not working
Best Answer
You're creating a new
ListBox
and setting it to be the value ofListBox1.Handle
- butListBox1.Handle
returns anIntPrt
type - an integer.