Click to See Complete Forum and Search --> : Creating objects at runtime


February 26th, 2000, 04:12 PM
... let ' s consider we have a form with a button ... when the button if pressed i want the code to look in a list box on another form and for each item in the listbox create an imagecontrol ... at runtime how can i do that ???
any help would be greatly apreciated ...

- Regards -

poochi
February 26th, 2000, 04:39 PM
try reflection..

look at Class.forName(..) , Class.newInstance() functions..