Sign in to follow this  

[.net] Add Resources Disabled in C++ Express

This topic is 4252 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have a console C++ application in MS Visual C++ 2005 Exress and I'd like to add an icon resource to it. The Project->Add Resources menu item is greyed out though. Does anyone know why this is and how I can add my icon?

Share this post


Link to post
Share on other sites
You cannot edit Resource files using the Express Editions. Unfortunatley, you can only do so with the Standard, Professional, etc. editions.

Yea, I know.... it sucks.

Share this post


Link to post
Share on other sites
Thanks for the suggestion and I checked it out, but the situation is that I already have a project written in C++ and all I'd like to do is add a resource (an icon) to it. SharpDevelop seems to only support C# and VB and expectedly didn't seem to work out when I tried to open up and modify my C++ project.

So am I doing something wrong with SharpDevelop or are there any other ways of simply adding a single icon resource to a project?

Share this post


Link to post
Share on other sites
Why don't you just open your .rc file and add the code to that manually? My app has the following code for an icon:

1 ICON "app.ico"

EDIT: This may be helpful.
EDIT2: If your project is using a .resx instead of a .rc you might look using Resourcer.

Share this post


Link to post
Share on other sites
thannett, thanks, that was certainly all that it needed. I haven't worked much with Windows resources and didn't really know how all the pieces fit together (just that I needed the icon added as a resource to my project).

So anyway, problem solved, thanks to all who replied!

Share this post


Link to post
Share on other sites

This topic is 4252 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this