Hi dave
Thanks for you posting in the group!
My idea is setting your project's "Project\Appname Properties...\Startup
Object:" to "Sub Main",
then Add a Module to your project, in that Module create a Sub Main.
In the Sub Main, you can instantiate your main form(e.g. Form1) as
Dim frmMain as New Form1 (Note: it is being create invisible)
To show the Form1:
frmMain.Show()
frmMain.Update()
To hide the Form1:
frmMain.Hide()
Wish it helps!
Best regards,
Gary Chang
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------