Results 1 to 5 of 5

Thread: splash screen question

  1. #1

    Thread Starter
    Hyperactive Member dflw's Avatar
    Join Date
    Apr 2001
    Location
    ct, usa
    Posts
    412

    splash screen question

    hello,

    how do i make a splash screen load and stay there while the main program loads and then close?
    (im new with splash screens)
    Visual Basic 6, HTML, JavaScript, learning C++

  2. #2

    Thread Starter
    Hyperactive Member dflw's Avatar
    Join Date
    Apr 2001
    Location
    ct, usa
    Posts
    412
    please helpp!
    Visual Basic 6, HTML, JavaScript, learning C++

  3. #3
    Megatron
    Guest
    Add to a Module:
    Code:
    Sub Main
        frmSplash.Show
        'Do loading stuff for frmMain here
        Unload frmSplash
        frmMain.Show
    End Sub

  4. #4

    Thread Starter
    Hyperactive Member dflw's Avatar
    Join Date
    Apr 2001
    Location
    ct, usa
    Posts
    412
    THaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaanks!!!!
    Visual Basic 6, HTML, JavaScript, learning C++

  5. #5
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649
    Or you can let your main form load the splash screen.
    Code:
    Private Sub Form_Load()
       'this is so the splash screen stay on top of your main form
        frmSplash.Show vbModeLess, Me 
        Me.Show
        'other init code
        Unload frmSplash
    End Sub

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