The easiest way, assuming a small amount of forms,is to evaluate the string:
if strForms = "Form1" then load form1
elseif strforms = "Form2" the load form2
etc.
Yeah I know this method isn't dynamic, but we're talking VB here.
if strForms = "Form1" then load form1
elseif strforms = "Form2" the load form2
etc.
Yeah I know this method isn't dynamic, but we're talking VB here.