Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

Creating a New Resource Script File


This material applies to Win32-based applications. Projects in .NET languages do not use resource script files. See Resource Files, for more information.

To create a new resource script (.rc) file

  1. Put focus on your existing project folder in Solution Explorer, for example, "MyProject."


    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.

  2. On the Project menu click Add New Item.

  3. In the Add New Item dialog box, click the Visual C++ folder then choose Resource File (.rc) in the right pane.

  4. 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.


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.



Community Additions

© 2015 Microsoft