Home > Articles > Programming > Visual Basic

  • Print
  • + Share This
This chapter is from the book

Creating a New Project

When you first start Visual Studio 2008, 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

Figure 1.1 You can open existing projects or create new projects from the Visual Studio Start page.

Figure 1.2

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:

  1. Make sure that the Windows Forms Application icon is selected. (If it's not, click it once to select it.)
  2. 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.
  3. 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

Figure 1.3 New Windows Forms Applications start with a blank form; the fun is just beginning!

Your Visual Studio 2008 environment might look different from that shown in the figures in this hour due to the edition of Visual Studio 2008 you're using, whether you've already played with Visual Studio 2008, and other factors, such as your monitor's resolution. All the elements discussed in this hour exist in all editions of Visual Studio 2008, however. (If a window shown in a figure doesn't appear in your IDE, use the View menu to display it.)

  • + Share This
  • 🔖 Save To Your Account