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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to integrate icon with EXE

Status
Not open for further replies.

vladibo

Programmer
Sep 14, 2003
161
CA
How to integrate icon with EXE file, because when I try this:
Code:
System::Drawing::Icon *IC = new System::Drawing::Icon(S"calculator.ico");
		this->Icon = IC;
it requires to supply with my EXE also the icon file but I want to make the icon a part of the exe file as I've seen in many appliations...
 
You need to put the icon in the program's resources with an ID of 1.

[tt]________________________________________________________________
[pc2]Roger
Life is a game of cards in which the deck contains only jokers.[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top