Thread: Newbie needs HELp BAD, please HELP!!!

  1. #1
    Registered User
    Join Date
    Jul 2002
    Posts
    22

    Newbie needs HELp BAD, please HELP!!!

    how do you assign icons to your exe's? Any help will be appriciated.

  2. #2
    Registered User subdene's Avatar
    Join Date
    Jan 2002
    Posts
    367
    Right click -> properties -> change icon.
    Be a leader and not a follower.

  3. #3
    Registered User
    Join Date
    Dec 2001
    Posts
    421
    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.

  4. #4
    Registered User
    Join Date
    Dec 2001
    Posts
    421
    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.

  5. #5
    Sir Mister Insane Sako Klinerr1's Avatar
    Join Date
    May 2002
    Posts
    608
    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!!!
    Email: [email protected] || AIM: MisterSako || MSN: [email protected]

    -the shroom has spoken

  6. #6
    Registered User
    Join Date
    Dec 2001
    Posts
    421
    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.

  7. #7
    Registered User
    Join Date
    May 2002
    Posts
    317
    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.

  8. #8
    Registered User
    Join Date
    Dec 2001
    Posts
    421
    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.

  9. #9
    Registered User
    Join Date
    May 2002
    Posts
    317
    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 :
    No. go and search the internet, there are hundreds of examples already written.
    Or are you forgetting what you have written on another thread?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Poker bad beats
    By PJYelton in forum A Brief History of Cprogramming.com
    Replies: 21
    Last Post: 01-15-2005, 11:42 PM
  2. How bad is bad
    By caroundw5h in forum A Brief History of Cprogramming.com
    Replies: 21
    Last Post: 11-12-2004, 09:26 AM
  3. newbie programmer - needs help bad.
    By hortonheat in forum C Programming
    Replies: 17
    Last Post: 10-20-2004, 05:31 PM
  4. good news and bad news
    By Garfield in forum A Brief History of Cprogramming.com
    Replies: 25
    Last Post: 10-27-2001, 07:31 AM
  5. Bad code or bad compiler?
    By musayume in forum C Programming
    Replies: 3
    Last Post: 10-22-2001, 09:08 PM