Reputation: 292
My goal is this: Program opens, small form initializes things, displaying text status updates as it does this, and when its done, it goes away and the actual main program form appears, allowing you to use it. Ive tried Me.Hide()
and Me.Visible = False
however both leave the initial small form open, with the actual program opened directly behind it. The small form is set as the main form to open to in VB config.
Upvotes: 1
Views: 4915
Reputation: 12204
You can use a workaround. It will minimize the form and hide it from taskbar:
Me.WindowState = FormWindowState.Minimized
Me.ShowInTaskbar = False
Later, when you want to exit the application, do it in standard way: by closing this (hidden) form.
Upvotes: 5