How can you unload an object in runtime in vb.net?
For instance erase a button named button1?
thx in advance, :wave:
Printable View
How can you unload an object in runtime in vb.net?
For instance erase a button named button1?
thx in advance, :wave:
Hi Ruku!
Try this
VB Code:
Me.Controls.Remove(MyButton)
Or this:
Code:button1.dispose()
thanks a lot...
hehe, gota get used to that syntax... :p