G
Guest
My problem is how to create a form given the name of the form class as a
string. In essence, I would like to be able to create an instance of
frmEmployee by using Dim frm as Form = New "frmEmployee" instead of New
frmEmployee. It there any way to do this. I want to use a single event
handler to create any form selected by the user. A property of the button
that fires the event is the name of the form.
string. In essence, I would like to be able to create an instance of
frmEmployee by using Dim frm as Form = New "frmEmployee" instead of New
frmEmployee. It there any way to do this. I want to use a single event
handler to create any form selected by the user. A property of the button
that fires the event is the name of the form.