Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Building graphics into the exe

Status
Not open for further replies.

polarz

Programmer
Mar 17, 2002
6
US
Hello, I wrote a small card game and need to know how to make my card graphics a part of the exe file. I'm currently reading them strait from my hard drive. Any help is appreciated. Thanks
 
Add the bitmaps to your project and change their build action (in the properties toolwindow) to "Embedded Resource". You'd then use the .NET resource commands to load and display them on your form at runtime.

Chip H.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top