Re: replacing .bmp resource



"marco Starglider" <rebel-6-out@xxxxxxxxx> wrote in message news:46ca3e37$0$25475$ba620dc5@xxxxxxxxxxxxxxxxxxxxxx
however: isn't there an option to replace it in 'one go'/menu option, and keeping the same ID's etc.?

As far as I know, not quite, but I would use one of these methods instead:

METHOD 1: (Non-Visual Studio method)
Chances are reasonably good there is a line like this in a
*.rc file associated with your project:

IDB_XXXXX BITMAP DISCARDABLE "directory\\Mybitmap.bmp"

Change the filename in this line to the new filename using any plain text
editor. It is better Visual Studio is not open on your project while you are
doing this.

METHOD 2: (Visual Studio method)
Open your solution/project in Visual Studio. In the "Resource View" of your
project, open the tree control down to the IDB_XXXXX icon leaf. Select this
leaf with your mouse. In the "Properties" window, you now see the properties
of this IDB_XXXXX including the "Filename". Click on "Filename" and change
the value to the new filename of your choosing.



.