Creating a New Resource Script File
To create a new resource file
- Put focus on your existing project folder in Solution Explorer, for example, "MyProject."
Note Don't confuse the project folder with the Solution folder in Solution Explorer. If you put focus on the Solution folder, your choices in the Add New Item dialog box (in Step 3) will be different.
- On the Project menu click Add New Item.
- In the Add New Item dialog box, click the Visual C++ folder then choose Resource File (.rc) in the right pane.
- Provide a name for your resource script file in the Name text box, then click Open.
You can now create and add new resources to your .rc file.
Note You can only add a resource script (.rc file) to an existing project that is loaded into the Visual Studio IDE. You cannot create a standalone .rc file (one outside the project). Resource templates (.rct files) can be created anytime.
For information on adding resources to managed projects, please see Resources in Applications in the .NET Framework Developer's Guide. For information on manually adding resource files to managed projects, accessing resources, displaying static resources, and assigning resources strings to properties, see Walkthrough: Localizing Windows Forms and Walkthrough: Localizing Web Forms.