In addition to Tom's advice, I would normally use a Sub Main for this and
launch the Main Form Hidden first, then launch the splash form using the
ShowDialog method passing the constructor a reference to the Main Form, this
form should check the main form for a completion flag, when this is done to
make visible the MainForm and close itself.
--
OHM ( Terry Burns )
. . . One-Handed-Man . . .
If U Need My Email ,Ask Me
Time flies when you don't know what you're doing
"Tom Shelton" <to*@YOUKNOWTHEDRILLmtogden.com> wrote in message
news:2x****************************@40tude.net...
On Sun, 19 Sep 2004 14:56:00 +1200, S.Hoa wrote:
Hello
Could you please tell me how to create a splash screen in VB.net. I
looked at project/add Windows Form... but could not find out.
Thank you
S.Hoa
Well, there are a number of ways to do this... One way, is to add a form
to your project and set the appropriate properties and then show it from
you main forms constructor... Something like:
Public Sub New ()
InitializeComponent()
Dim splash As New SplashForm ()
splash.Show (Me)
' do stuff
splash.Dispose ()
End Sub
HTH
--
Tom Shelton [MVP]