Click to See Complete Forum and Search --> : Including the picture


brynpttrsn
March 31st, 2008, 04:05 PM
Is there any way to include the picture in the project so I dont have to rely on exterior pictures to be loaded? Im using vc++ Express 2008.

S_M_A
March 31st, 2008, 05:37 PM
You can add it as an resource. Bitmaps are supported directly, other file types could be embedded using an user-defined resource.

brynpttrsn
March 31st, 2008, 05:45 PM
How do I add it as a resource? There appears to be no resources folder and I cant seem to figure out how to incorporate the bmp into the project. at school I can do it no problem because it isnt the Express. But with the Express I cant seem to figure it out.

dglienna
March 31st, 2008, 05:55 PM
Through Add New Item one can add a resource file

brynpttrsn
March 31st, 2008, 06:34 PM
well all that appears to be there is:
Windows Form
Header File
Component Class
C++ File
Property Sheet

There doesn't appear to be a resource file option.

S_M_A
April 1st, 2008, 02:51 AM
Can't really guide you here since I don't have express installed. The only idea I have at the moment is that you might need to install the SDK. Some information on how to do it can be found here http://www.codeguru.com/forum/showthread.php?t=448791