Specifying the Default Program for a Type of FileUsually you have just one program of a particular type installed on your computerone word processor, one spreadsheet program, one database program, and so on. In each program, you create files of a specific type, identified by the file name extension. For example, the documents you create and save in Microsoft Office Word 2007 have the .docx extension appended to their file names. By default, these extensions are hidden from your view, and you never have to type them when you assign a name to a file. But they are there nevertheless. One of the functions of the file name extension is to identify programs that can open the file. If you double-click the file in Windows Explorer and the default program associated with the file's extension is installed on your computer, Windows Vista starts the program, and that program then opens the file. This system is all well and good as long as each extension is "owned" by a single program. Tip When you double-click a file with an extension for which Windows has no program association, or if the associated program is not installed on your computer, Windows displays the Open With dialog box so that you can select the program you want to use. You might be able to open the file in a different program that creates similar files. For example, you can often use Microsoft Office Excel to open older spreadsheet files with the .wks extension, which were probably created in either Microsoft Works or Lotus 1-2-3. However, the system breaks down if a file name extension represents a format that more than one installed program can work with. The classic example of file-type conflict arises with graphics files. The extensions of these files represent the format of the file rather than the program that created it. By design, most graphics programs can open and create files in several different graphics formats, because different formats are suited for different types of output. For example, one format might produce superior results in print, and another might be great for on-screen viewing. Of the files suited to viewing on a computer, some might produce high-quality images but also large file sizes; whereas others might produce acceptable quality with smaller sizes that are faster to download from the Web. Until you install a graphics program on your computer, double-clicking a graphics file in Windows Explorer displays the graphic in Windows Photo Gallery. When you install a different graphics program, its installation program might lay claim to all graphics file formats. Then if you double-click a file with any of those extensions, Windows Vista calls upon that program to open the file. Or it might not. Double-clicking a file might continue to open it in Windows Photo Gallery, when you really want to work with the file in your new graphics program. You can right-click a file and then click Open With to display the dialog box from which you can select the program you want to use. If you always want to open all files of a certain type with a different program than the one Windows Vista currently calls on for that task, you can change the default program for the type. In this exercise, you will change the default program for a bitmap graphic from Windows Photo Gallery to Paint.
USE the 03_MusicBox graphic. This practice file is located in the Chapter07 subfolder under SBS_WindowsVista. OPEN your Documents folder in Windows Explorer, and navigate to the MSP\SBS_WindowsVista\Chapter07 folder.
CLOSE the Paint window. BE SURE TO reset the default program for bitmap graphics if you don't want them to continue opening in Paint.
|