News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

A little help please

Started by splodger15, September 27, 2007, 08:30:23 PM

Previous topic - Next topic

splodger15

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

XayC

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

splodger15

Please be a bit more specific in fixing this issue

TDragon

Quote from: splodger15 on September 27, 2007, 10:23:06 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
[url="https://jmeubank.github.io/tdm-gcc/"]https://jmeubank.github.io/tdm-gcc/[/url] - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

Maciek

I've asked the same question before in  this thread.

splodger15

Isn't there just a step by step walkthrough on this surely quite a few people must ask about this.

thomas

Yes there are dozens, but this forum is not about Windows / general programming.

You may want to read theForger's Win32 tutorial.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

skfd

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:
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.

XayC

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