|
-
Apr 28th, 2001, 05:42 PM
#1
Thread Starter
Hyperactive Member
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++
-
Apr 28th, 2001, 06:35 PM
#2
Thread Starter
Hyperactive Member
Visual Basic 6, HTML, JavaScript, learning C++
-
Apr 28th, 2001, 06:36 PM
#3
Add to a Module:
Code:
Sub Main
frmSplash.Show
'Do loading stuff for frmMain here
Unload frmSplash
frmMain.Show
End Sub
-
Apr 28th, 2001, 06:39 PM
#4
Thread Starter
Hyperactive Member
THaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaanks!!!!
Visual Basic 6, HTML, JavaScript, learning C++
-
Apr 28th, 2001, 06:41 PM
#5
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|