I have an application that I would like to use strings from the textboxes to open forms, by storing the form name in the textbox on open or close.
Dim strName as string
Dim frm as Form
If strName = String.Empty then
strName = frmMain
Else
strName = frmMain.txtFormOpen.txt
frm = strName
End If
but I get an error that a string is not or can not be converted to a form :(
Any help would be greatly appreciated. Thank you in advance
Michael