Question Splash screen

tudorjl

New member
Joined
Jun 6, 2008
Messages
1
Programming Experience
Beginner
I tried using some code to get my splash screen to stay up longer than the default 2 seconds.

VB.NET:
Partial Friend Class MyApplication
       
     Protected Overrides Function OnInitialize(ByVal commandLineArgs _
As System.Collections.ObjectModel.ReadOnlyCollection(Of String)) As Boolean

            'Set the splash screen timeout.

            Me.MinimumSplashScreenDisplayTime = 5000
            Return MyBase.OnInitialize(commandLineArgs)

        End Function

This did not work for me. Instead it displayed my splash screen after I closed my main form.

Any suggestions?
 
Back
Top