How to: Add and Delete Actions in the File Types Editor
The File Types Editor can be used to specify the actions allowed for a file type when it is installed on a target computer. The actions that you specify here will appear as commands in the context menu when a user right-clicks a file in Windows Explorer.
Note
The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Working with Settings.
To specify an action for a file type
Select a File Type node in the File Types Editor.
On the Action menu, click Add Action.
A New Document Action node is added and the default name is highlighted.
Type a name for the action. This is the name that will be displayed in the context menu for the file type.
Tip
To include an access key in the action name, place an ampersand (&) in front of the letter that will be used to access the command.
In the Properties window, select the Verb property and type a verb. This is the name that you will use programmatically within your application to run code when the action is invoked.
See Also
Tasks
How to: Add and Delete Document Types and Associated File Extensions in the File Types Editor
How to: Set Installation Conditions for a File in a Deployment Project
How to: Specify a Default Action in the File Types Editor
How to: Change the Display Order of Actions in the File Types Editor
Reference
Properties for the File Types Editor