I tried using some code to get my splash screen to stay up longer than the default 2 seconds.
This did not work for me. Instead it displayed my splash screen after I closed my main form.
Any suggestions?
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?