I've got this code in my MDI form:
Dim strHandle As String
Dim frmTest As New Form
frmTest.MdiParent = Me
frmTest.Visible = False
strHandle = frmTest.Handle.ToString
The problem is that frmTest displays itself when I read the Handle information. The form isn't supposed to be visible. I need it fully loaded so I can access properties/methods. But I don't want it displayed until the user needs it.
How can I load a form and access it without it displaying??
Thanks.
Dim strHandle As String
Dim frmTest As New Form
frmTest.MdiParent = Me
frmTest.Visible = False
strHandle = frmTest.Handle.ToString
The problem is that frmTest displays itself when I read the Handle information. The form isn't supposed to be visible. I need it fully loaded so I can access properties/methods. But I don't want it displayed until the user needs it.
How can I load a form and access it without it displaying??
Thanks.