Hello. So I am attempting to load a Bitmap into my project. I am using Visual Studio 2010. I am going to the resource view, right click, choose to add a new Resource, and from there I pick Import. Then, I simply select a .bmp file and I choose open. The .rc file receives an asterisk, meaning that it has been modified, but my picture is not imported at all. I have tried this with 2008 and 2005 and 2003, but to no success.

It works if I am creating one from scratch though. What could be the problem? Or should the .bmps have some special properties, such as 256 colors?

Whats the problem with loading the bitmap from a file in the same directory?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.