How to Make a Splash Screen in VB.NET
Making a splash screen with Visual Studio.Net using the VB development language can be done with the built-in splash screen template and personalized with several additional short lines of Visual Basic code. For example, you can add a command button to let the user bypass the Splash Screen and move on to another form. You could add a menu system to let the user go on to specific windows or even exit the program if desired.
Instructions
-
-
1
Open Visual Studio.Net and select "Create Project." Save the project under a file name like MySplashScreen. Click on the project in the Solution Explorer panel, and then use the pull-down menu under the Project option on the top list of options. Select "Add New Item."
-
2
Select the Splash Screen template from the list of templates that will display. Click "Add" at the bottom of the window when you see the template file name appear in the Name box. You can rename it if you wish or keep the SplashScreen name.
-
- 3
-
4
Use the same process to edit the other preset information such as version number, copyright and the displayed icon. Add any additional information desired.
-
5
Click on the "Toolbox" label at the far left of the design display to show Visual Basic tools. Double-click the "Button" tool to add a button command to the display. Change the text of the Button to something like "Continue."
-
6
Double-click on the Button label from above to open the VB code box. Insert the name of the form you want to display after the button is clicked followed by ".Show." For example, to display a form named Home type "Home.Show" (without the quotation marks).
-
7
Set the splash screen to be the first form to load by clicking on "Project" then "Properties." Insert the name of the splash screen in the Start form box.
-
1
Tips & Warnings
To design your own splash screen without using the template, create a basic form and add whatever content and images you wish, using Visual Basic. Then use the last step above to make it the first form to load when the program runs. Add a timer control to the form to advance to the next window even if the user does nothing.
Always ensure there is another step (form or window) to load after the Splash Screen or some other way for the user to exit this screen, otherwise the form will stay there forever.