STARTING A NEW PROJECT

To start a new Metro-style project, select the File menu’s New Project command as usual. In the New Project dialog box shown in Figure 21-2, expand the project-type tree on the left to find the category Installed ⇒ Templates ⇒ Visual Basic ⇒ Windows Metro Style and select the type of application that you want to create. Enter a project name and click OK.

FIGURE 21-2: Select the Windows Metro-style template category to create a Metro-style application.

image

This version of Visual Studio stores new projects in a temporary location until you save the project. That means if Visual Studio crashes before you save the project, you may lose all of the work you have done. To prevent that, save the project into a directory right after you create it by using the File menu’s Save All command. After that, Visual Studio automatically saves any changes you make every time you run the program so your changes should be safe.

Get Visual Basic 2012 Programmer's Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.