Creating a New Project
When you first start Visual Studio 2015, you see the Start Page tab within the IDE, as shown in Figure 1.1. You can open projects created previously or create new projects from this Start page. For this quick tour, you’ll create a new Windows application, so select File, New Project to display the New Project dialog box shown in Figure 1.2.
FIGURE 1.1 You can open existing projects or create new projects from the Visual Studio Start page.
FIGURE 1.2 The New Project dialog box enables you to create many types of .NET projects.
The New Project dialog box is used to specify the type of Visual Basic project to create. (You can create many types of projects with Visual Basic, as well as with the other supported languages of the .NET Framework.) The options shown in Figure 1.2 are limited because I am running the Express edition of Visual Basic for all examples in this book. If you are running the full version of Visual Studio, you will have many more options available.
Create a new Windows Forms Application now by following these steps:
Click Windows Desktop in the tree on the left.
Click the Windows Forms Application item to select it.
At the bottom of the New Project dialog box is a Name text box. This is where, oddly enough, you specify the name of the project you’re creating. Enter Picture Viewer in the Name text box.
Click OK to create the project.
When Visual Basic creates a new Windows Forms Application project, it adds one form (the empty gray window) for you to begin building the interface for your application, as shown in Figure 1.3.
FIGURE 1.3 New Windows Forms Applications start with a blank form; the fun is just beginning!
Your Visual Studio 2015 environment might look different from that shown in the figures in this hour, depending on the edition of Visual Studio 2015 you’re using, whether you’ve already played with Visual Studio 2015, and other factors, such as your monitor’s resolution. However, all the elements discussed in this hour exist in all editions of Visual Studio 2015 that support desktop development (as opposed to store applications). If a window shown in a figure doesn’t appear in your IDE, use the View menu to display it.