How to: Edit Resources
You can use the Resource Designer to edit resources for your project. Resource types supported by the Resource Designer include strings, images, icons, audio, and files.
Note
The procedures for editing string resources differ from the other resource types. For more information, see How to: Edit String Resources.
You edit each type of resource by using an editor associated with its file name extension. For example, the default editor for bitmap images (.bmp) might be the Visual Studio Bitmap Editor, but the default editor for Jpeg images (.jpg) could be Windows Paint. You can open any resource file in a different editor by using the Open With command, and you can change the default editor for any resource type. For more information, see How to: Associate an Editor with a Resource Type.
For information about how the Resource Designer generates strongly-typed resources, see Managing Application Resources.
To edit a resource by using the default editor
With a project selected in Solution Explorer, on the Project menu, click Properties.
Click the Resources tab.
On the Resource Designer toolbar, point to the resource view drop-down, click the arrow, and select the type of resource that you want to edit.
Double-click the resource to open the default editor for that resource type.
To edit a resource by using a different editor
With a project selected in Solution Explorer, on the Project menu, click Properties.
Click the Resources tab.
On the Resource Designer toolbar, point to the resource view drop-down, click the arrow, and select the type of resource that you want to edit.
Select the resource that you want to edit, right-click it, and then click Open With.
In the Open With dialog box, select an editor from the Choose the program you want to use to open this file list.
The resource file is opened in the selected editor.
Note
The editor must be able to edit the selected resource type; for example, you cannot edit a bitmap file in a text editor.
See Also
Tasks
How to: Add or Remove Resources
How to: Add or Remove String Resources
How to: Associate an Editor with a Resource Type
Reference
Concepts
Accessing Application Resources (Visual Basic)