In this exercise, you will learn how to display a splash screen followed by another form. a.

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) 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.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: