I'd like to pass a command line argument to my program with the name of any
form in my forms collection to be opened. I have no problem with the parsing
of the arguments but don't know how to match a specific form to a string. I
see each form in my.forms.whateverform. When I try to open a form and Dim
frm as a form, then set its name property to the string, it only opens up a
generic form, not the one with the name i cite.
I know that this doesn't work, what will:
sub frmOpen(OpenForm As string)
Dim frm as Form
frm.Name = My.Forms.Equals.(OpenForm)
frm.Show()
Thanks in advance,
Steve House