×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Splash Screen

Splash Screen

Splash Screen

(OP)
I created an app in vb6 and i would like a splash screen to open up as it loads.

I'm new to this, so i would appreciate some assistance on how to get the screen up and running


thanks

RE: Splash Screen

Sarah,

You can do this several different ways.

Whan you add a new form to your project, in the "Add Form" dialog you can select the "Splash Screen" template and then click open. This will create a splash screen form for you in your project.

-- OR --

You can create your own splash screen form by using one of the Microsoft splash screens as a guide.

Either way is fine. Usually, I like to add a timer control to the form and set it to approx 3 seconds. On the timer event, close the splash screen form and show your main form.

You'll need to open the splash screen form from either your Sub Main() or set the splash screen form as the startup form in your project properties. Let me know if you have any problems or questions.

Hope this helps. :)

Kenneth W. Cronin

RE: Splash Screen

(OP)
Thanks for the info.

I would also like to use a timer so that the screen automatically disappears once the project has finished loading. I have an idea, but I'd appreciate any pointers.

Thanks

RE: Splash Screen

Instead of using a timer, why not unload the form in the last step of the main forms load process?

Wally Wojciechowski

RE: Splash Screen

Sarah,

Wallyw is right. You probably should display the splash screen at the beginning of your Sub Main() function, then close it after the last step of code is processed, right before you show your main form.

However, if you find that your code only takes a second to process and you wish to keep your splash screen up for a longer period of time, then I would suggest adding a timer to the splash screen form as well, for good measure.

This is also helpful when running your app on a PC with a much faster processor that can just whip right through your Sub Main() function. You wouldn't want your splash screen to just show up as a small blip on someone's screen.

Keep up the good work. :)

Kenneth W. Cronin, MCP
kcronin@atdsystems.com
ATD Systems Corporation

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close