Instead of doing Form1.Show, use "Load Form1". This will load the form but not show it. It will execute whatever is in the form_load event. Then to show it you use Form1.Show. You can also use Form1.Hide to hide it.
Something like this:
Public Sub main()
Load Form1
End Sub
Snaggs
tribesaddict@swbell.net
You can set the startup procedure as Sub Main and have such a procedure in the module.In sub Main when you are ready put frmForm1.show in the same module.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.