Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: splodger15 on September 27, 2007, 08:30:23 pm

Title: A little help please
Post by: splodger15 on September 27, 2007, 08:30:23 pm
Hello,

I am currently studying C and I was wondering how can I change the icon on a exe as I hate having the orginal one.

Any help is appreciated

Thanks
Title: Re: A little help please
Post by: XayC on September 27, 2007, 08:54:49 pm
Hi, this is not a general programming board nor a window programming board, you should ask in an appropriate forum.

Assuming you are working on windows (since you talk about exe), it can be done adding the icon.ico in the executable resources, it should work both for graphical and console applications. To be clear, here I'm talking about the icon you see when you look at your executable file, not the little icon in the corner of the window, when you run it.

Regards, XayC
Title: Re: A little help please
Post by: splodger15 on September 27, 2007, 10:23:06 pm
Please be a bit more specific in fixing this issue
Title: Re: A little help please
Post by: TDragon on September 27, 2007, 10:28:25 pm
Please be a bit more specific in fixing this issue
No; as XayC mentioned, this is not a general programming board, so questions that aren't Code::Blocks related are discouraged. I recommend trying the forums at GameDev.net, personally.

Cheers,
John E. / TDM
Title: Re: A little help please
Post by: Maciek on September 27, 2007, 11:10:28 pm
I've asked the same question before in  this (http://forums.codeblocks.org/index.php/topic,991.msg6833.html#msg6833) thread.
Title: Re: A little help please
Post by: splodger15 on September 27, 2007, 11:27:24 pm
Isn't there just a step by step walkthrough on this surely quite a few people must ask about this.
Title: Re: A little help please
Post by: thomas on September 28, 2007, 12:06:21 am
Yes there are dozens, but this forum is not about Windows / general programming.

You may want to read theForger's Win32 tutorial.
Title: Re: A little help please
Post by: skfd on October 09, 2007, 04:14:20 pm
Decided to post here because i don't now how to name this problem.

I'm running nightly build dated 7.10 on Gutsy. When i run program from inside of C::B the xterm window opened with "Press ENTER to continue." message. Build log told me this:
Code
Checking for existence: /home/skfd/Desktop/C++/1
Executing: xterm -T '/home/skfd/Desktop/C++/1' -e /usr/bin/cb_console_runner "/home/skfd/Desktop/C++/1" (in /home/skfd/Desktop/C++)
Process terminated with status 0 (0 minutes, 4 seconds)

Please, help me to figure out how should i run my program properly.
Title: Re: A little help please
Post by: XayC on October 09, 2007, 06:32:30 pm
I guess you are asking how to remove the "Press ENTER to continue" feature, in this case: it's a project specific option (available for programs that quit immediately after running and where you don't have time to see the results in the console window).
You can enable-disable it from: open the project, menu Project->Properties, build target panel, "pause when execution ends" (it can be target specific and it's available when the project is a console application).

Regards, XayC