In message <OC*************@TK2MSFTNGP10.phx.gbl>, Adam Goossens
<ad**********@users.sourceforge.net> writes
Hi Alan,
Create your splash screen form. In Visual Studio, right-click your project and
go to Properties. Under the "General" item of the "Common Properties"
category there will be a drop-down box called "Startup Object". It'll be on the
second line down.
Thanks for that pointer. I really don't know how I managed to miss it in
my check through of possibilities.
Now another related point.
Once the project is executing, what's the simplest way of switching from
one form to another?
In VB6 I used to go
Forms!Form2.Activate
Forms!Form1.Close
With VB.NET the closest equivalent I can find (since it won't allow me
to point directly at Form2 from inside Form1) is:
Dim myForm2 as New Form2
Me.Hide
Here, if I try closing Form1 instead of simply hiding it, the whole
project shuts down.
Is this the best and most direct way of switching from one form to
another?
Does this mean that in a complex application consisting of many
different forms, I have to leave them all open behind me as I navigate
from one to the next?
Doesn't this have significant memory implications?
--
Alan M Dunsmuir