By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,646 Members | 2,098 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,646 IT Pros & Developers. It's quick & easy.

Code for Splash screen

P: 19
Hi,
Currently i am working an application program with Visual Basic.6 and
I want to add Splash screen on it. Would you come up with the code used to manage it,please ?
Nov 23 '06 #1
Share this Question
Share on Google+
1 Reply


100+
P: 267
Hi,
Currently i am working an application program with Visual Basic.6 and
I want to add Splash screen on it. Would you come up with the code used to manage it,please ?
hi

create a splash screen
then call your project as usual

Expand|Select|Wrap|Line Numbers
  1. frmMain.Show
  2. frmMain.Refresh
  3. frmSplash.Show 0
  4. frmSplash.Refresh
  5. Start = Timer
  6. '--- have some code running on the background if you like
  7. while Timer<Start+3: Wend
  8. '--- in this case 3 seconds delay from start showing the splash to here
  9. frmSplash.Hide
  10. '-- continue your code
  11.  
you can add some code in Form_Load of your splashscreen
Nov 23 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.