Question: In this exercise, you will learn how to display a splash screen followed by another form. a. Open the Two Form Solution (Two Form Solution.sln)
In this exercise, you will learn how to display a splash screen followed by another form.
a. Open the Two Form Solution (Two Form Solution.sln) file contained in the VB2015\Chap01\Two Form Solution folder. If necessary, open the Solution Explorer and designer windows. Notice that the project contains one form named Splash Form.vb.
b. Now you will add a new form to the project. Click Project on the menu bar, then click Add Windows Form, and then click the Add button. Change the new form file’s name to Main Form.vb. Change the form’s name to frmMain, and then set its StartPosition property to CenterScreen. Also set its Text property to Main Form.
c. Right-click My Project in the Solution Explorer window and then click Open. Change the entry in the Startup form box to frmMain. Change the entry in the Splash screen box to frmSplash. Close the Project Designer window.
d. Save the solution and then start the application. The splash screen (frmSplash) appears first. After a few seconds, the splash screen disappears automatically and the startup form (frmMain) appears. Click the Close button on the startup form’s title bar, and then close the solution.
Step by Step Solution
3.27 Rating (159 Votes )
There are 3 Steps involved in it
ad Microsoft Visual Studio Solution File Format Version 1200 Visual Studio 14 VisualStudioVersion 140225120 MinimumVisualStudioVersion 100402191 ProjectF184B08FC81C45F6A57F5ABD9991F28F Two Form Projec... View full answer
Get step-by-step solutions from verified subject matter experts
