Results 1 to 3 of 3

Thread: Setting splash screen time

Threaded View

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jul 2006
    Location
    MI
    Posts
    2,012

    Setting splash screen time

    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...
    Last edited by nbrege; Dec 29th, 2023 at 01:14 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width