Tag Archives: splashscreen

How to Easily add a Preconfigured SplashScreen with Visual Basic 08, VB 2010, and newer

Click Star to Rate Post
1 Star2 Stars3 Stars4 Stars5 Stars (4 votes, average: 5.00 out of 5)
 

This little tip is only to show how to very simply add a default Preconfigured Splashscreen to your project, not really anything beyond that 🙂 This feature is available in VB 2005, Visual Basic.NET 2008, Visual Basic 2010, and higher. The first thing you want to do is goto the “Project” menu and click on.. “Add New Item”. IT will then display a window with the available objects you can add to your project. Find and Click on the “SplashScreen” object. IT will then add the object to your project. Now all you have to do is simply go back to the “Project” menu and click on your projects “Properties” selection. On the “Application” tab your will see a option for “Splash Screen”. In that combobox simply select the new Splash Screen form you added earlier. Now your project will show that splash form when your program is loading. The default splashscreen is probably not how you want it to be for your application, so you can design the splashscreen form however you like. There is a feature for your Splashscreen that you might want to use. Its called: MinimumSplashScreenDisplayTime. As the name suggests, it will set the minimum time that your splashscreen will be visible via a milli-seconds value. IF you set it to 5000(ms), then your splashscreen will stay opened for 5 seconds before your main application form is loaded. Edit: Click here to see how to add the code  in Application Events. Example:

My.Application.MinimumSplashScreenDisplayTime = 1000


Well, that’s all there is to it to add a preconfigured default Splash screen form to your projects. Remember this tip will ONLY work with Visual Basic 2005 and Visual Basic 2008. Or as some like to call Visual Basic 8 and Visual Basic 9. Have fun 🙂

          Jason

Revised: 2015