I was unable to get these instructions to work:
When pasting in the code below, I get an message that says "Statement is not valid in a namespace".
I am using .NET 3.5 for my program, and the code came from: http://msdn.microsoft.com/en-us/libr...splaytime.aspx
When pasting in the code below, I get an message that says "Statement is not valid in a namespace".
I am using .NET 3.5 for my program, and the code came from: http://msdn.microsoft.com/en-us/libr...splaytime.aspx
Code:
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
Comment