- Starting Visual Basic 2015
- Creating a New Project
- Understanding the Visual Studio 2015 Environment
- Changing the Characteristics of Objects
- Adding Controls to a Form
- Designing an Interface
- Writing the Code Behind an Interface
- Running a Project
- Summary
- Q&A
- Workshop
- Exercises
Understanding the Visual Studio 2015 Environment
The first time you run Visual Studio 2015, you’ll notice that the IDE contains a number of windows, such as the Properties window on the lower-right, which is used to view and set properties of objects. In addition to these windows, the IDE contains a number of tabs, such as the vertical Toolbox and Data Source tabs on the left edge of the IDE (refer to Figure 1.3). Try this now: Click the Toolbox tab to display the Toolbox window (clicking a tab displays an associated window). To hide the window, click another window. To close the window (don’t do this now), click the Close (X) button on the window’s title bar.
You can adjust the size and position of any of these windows, and you can even hide and show them as needed. You’ll learn how to customize your design environment in Hour 2, “Navigating Visual Basic 2015.”
The Properties window on the right side of the design environment is perhaps the most important window in the IDE, and it’s the one you’ll use most often. If your computer display resolution is set to 1024×768, you can probably see only a few properties at this time. This makes it difficult to view and set properties as you create projects. All the screen shots in this book were captured on Windows 8 running at 1152×864 because of publishing constraints, but you should run at a higher resolution if you can. I highly recommend that you develop applications with Visual Basic at a screen resolution of 1280×768 or higher to have plenty of workspace. To change your display settings, right-click the desktop and select Screen Resolution. Keep in mind, however, that end users might be running at a lower resolution than you are using for development.