I'm trying to set the splash screen minimum display time per https://learn.microsoft.com/en-us/do...owsdesktop-8.0
Where do I put this code?
Code:Protected Overrides Function OnInitialize(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
I tried it in my main form & in ApplicationEvents & both give me errors...




Reply With Quote