467,881 Members | 1,194 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,881 developers. It's quick & easy.

Code for Splash screen

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
  • viewed: 2327
Share:
1 Reply
100+
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.

Similar topics

3 posts views Thread by andrewcw | last post: by
11 posts views Thread by K E Senthil Kumar | last post: by
4 posts views Thread by Lou | last post: by
1 post views Thread by Ken Allen | last post: by
3 posts views Thread by Eric A. Johnson | last post: by
2 posts views Thread by Mika M | last post: by
10 posts views Thread by =?Utf-8?B?UmljaGFyZCBCeXNvdXRo?= | last post: by
reply views Thread by Paulson | last post: by
reply views Thread by MrMoon | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.