how do you assign icons to your exe's? Any help will be appriciated.
how do you assign icons to your exe's? Any help will be appriciated.
Right click -> properties -> change icon.
Be a leader and not a follower.
make an icon resource, and compile that in with your executable.
viola!
if you want it to appear in the task bar/caption bar when you run it then look at LoadIcon() and SetWindowLong()
good luck!
U.
Quidquid latine dictum sit, altum sonatur.
Whatever is said in Latin sounds profound.
BTW, this question is more appropriatw in the windows forum as it's windows specific.
Quidquid latine dictum sit, altum sonatur.
Whatever is said in Latin sounds profound.
he orignalky asked this to me over aim. its more of an general forum question. but oh well. but whoever siad how to make the progrma automaticly choose an icon, can u make me an example .cpp file and psot here.. please!!!
No. go and search the internet, there are hundreds of examples already written.
Quidquid latine dictum sit, altum sonatur.
Whatever is said in Latin sounds profound.
Last time I checked we were here to help people out. After all what good is a board if the answer is look it up on the internet?
Here you go dgprog, however for future reference try using the search facility on genereal questions on such topics. This is the same file I posted on the windows board.
I agree with you, but only partly. I am here to help those people who are willing to help themselves. In other words, if someone has tried to do something and has either failed or is struggling to do it, then i will help them. The condition here is that i'm not just going to spoonfeed people who haven't made any effort themselves already.
So in the case of "can you do this for me?", the answer is no. But in the case of "i've tried this, but it doesn't seem to work, I dont know what i'm doing wrong can you please help me?" the answer is yes.
cheers
U.
Quidquid latine dictum sit, altum sonatur.
Whatever is said in Latin sounds profound.
I agree with you on the can you do this for me? attitude with assignments and homework. However some people learn better by example,as I'm sure you know as a teacher, and on such a general question such as, make an icon associated exe, it can really be only for learning. In these cases what harm can be done in helping out. If you don't like answering such questions don't, just do me a favor and not post a negative response such as :
Or are you forgetting what you have written on another thread?No. go and search the internet, there are hundreds of examples already written.