Datasheet

Figure 1-2: The File menu holds commands that deal with the solution and its files.
Following is a description of the commands contained in the File menu and its submenus:
New The New submenu shown in Figure 1-2 contains commands that let you create a new
Visual Basic project, Web site project (generally ASP.NET or a Web Service), or file (text file,
bitmap, Visual Basic class, icon, and many others). The Project From Existing Code command cre-
ates a new project and puts all of the files in a directory in it, optionally including subdirectories.
New\File The New submenu’s File command displays the dialog shown in Figure 1-3. The
IDE uses integrated editors to let you edit the new file. For example, the simple bitmap editor
lets you set a bitmap’s size, change its number of colors, and draw on it. When you close the file,
Visual Studio asks if you want to save the file and lets you decide where to put it. Note that this
doesn’t automatically add the file to your current project. You can save the file and use the
Project\Add Existing Item command if you want to do so.
Open The Open submenu contains commands that let you open a project or solution, Web
site, or file. The Convert command displays the Convert dialog shown in Figure 1-4. From this
dialog, you can launch the Visual Basic 2005 Upgrade Wizard, which can help you convert
Visual Basic 6 programs to Visual Basic 2005.
Close This command closes the current editor. In Figure 1-2,
Form1 is open in the form
designer editor. This command would close this editor.
6
Chapter 1
571982 ch01_2.qxd 1/19/06 1:15 PM Page 6