Splash Screen in vb.net 2005

B

BRAHM

I am using this code to set up the splash screen startup time.

Protected Overrides Function OnInitialize( _
ByVal commandLineArgs As _
System.Collections.ObjectModel.ReadOnlyCollection(Of String) _
) As Boolean
' Set the display time to 5000 milliseconds (5 seconds).
Me.MinimumSplashScreenDisplayTime = 5000
Return MyBase.OnInitialize(commandLineArgs)
End Function

in ApplicationEvents.vb file.

I would like to have the mdi form loade only after splash screen timeout. is
it possible ? is there anyway ?

At this momment when I see the splash screen the mdi is loaded behind the
splah screen window.

Thanks,

BRAHM
 
P

PlatinumBay

BRAHM,

Are you using Visual Studio? What version?

Starting in Visual Studio 2005, the Add New Item dialog for a Windows Forms
application include a Splash Screen template. On the Application Settings
page, you can set the splash screen to the dialog you just added, and it
will display while the form is loading, and keep the form hidden. The logic
to handle this is baked in, and does not require any coding on your part.


Hope this helps,

Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top