In the application properties of my vb.net 2008 project I have set one of my
forms to be the splash screen.
How do I increase the time the splash screen is displayed for. It vanishs to
quick,and I would like it to display for 4 seconds
Thanks
It's also at
ms-help://MS.VSCC.v90/MS.MSDNQTR.v90.en/fxref_microsoft.visualbasic/html/cd1b02c0-a9f2-f7db-0132-917098bafa05.htm
"Newbie" <new...@nospam.com> wrote in message
news:O5ylIXhQ...@TK2MSFTNGP03.phx.gbl...
Hi,
You need to specify the required display time by:
1-Create your splash screen from "add new item" menu.
2-In project settings, view application tab, and set Splash Screen to
"your splash screen" from drop down menu.
3-And your request, click on "View Application Events"
4-Inside "MyApplication" Class, enter the code using
"MinimumSplashScreenDisplayTime" as follows:
' Keep splash on screen for 4 seconds
Protected Overrides Function OnInitialize( _
ByVal commandLineArgs As _
System.Collections.ObjectModel.ReadOnlyCollection(Of String) _
) As Boolean
Me.MinimumSplashScreenDisplayTime = 4000
Return MyBase.OnInitialize(commandLineArgs)
End Function
You're done.
Hope this helps,
Onur Güzel