VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Making A Splash Screen

DaMaStA  (1 Submission)   Miscellaneous   Visual Basic 3.0   Unknown Difficulty   Wed 3rd February 2021

Load any program and the first thing you see is a splash screen. Splash screens usually display the program's name along with a graphic of some sort, such as a pen for the Microsoft Word splash screen or the company's logo for the Procomm Plus splash screen.

Assumes
At the start of every project you create, use Form1 (the first form to appear when you run your program) as your splash screen. Place the Timer control on the form and define the Interval property of the Timer. (An interval of 1000 equals 1 second and an interval of 65,535 is approximately 1 minute. You may have to experiment with the proper interval to display for your splash screen.) Then set the following Form1 properties to False: ControlBox, MaxButton, and MinButton, since you don't want users to be able to minimize or maximize your splash screen. Next, draw an Image box (Image1) so it completely covers Form1 and paste in the graphic image you want to display on your splash screen. For simple splash screen images, you can use the Paintbrush program that comes with Windows or any of the numerous commercial or shareware paint programs available. Finally, add the following code to the Timer1 event procedure:

Rate Making A Splash Screen (5(5 Vote))
Making A Splash Screen.bas

Making A Splash Screen Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters