Click to See Complete Forum and Search --> : assigning icons
Skitchen8
Aug 7th, 2001, 02:13 PM
how do i give my exe an icon when i compile through VC++... do i have to use code?? (BTW its not MFC its just a regular console mode application!!)
*
*
Megatron
Aug 8th, 2001, 12:09 PM
Go to File > New and add a Resource Script to your project. Then, go to File > New and add an Icon File. Now you can draw/manipulate your icon.
By default, the first icon you add will be the icon that your application will use.
Skitchen8
Aug 8th, 2001, 03:10 PM
it didn't work, do i have to do anything to to resource script or anything??
Skitchen8
Aug 8th, 2001, 03:13 PM
never mind, figured it out....
abdul
Aug 8th, 2001, 07:20 PM
how do I make my vc++ app smaller in size and also it should take less time compiling the code.
wey97
Aug 11th, 2001, 01:17 AM
I think if you use Windows Lean and Mean in your header file,
then the app will be smaller, not sure though.
I don't have the code with me, will get it later.
parksie
Aug 11th, 2001, 01:58 AM
Make sure you compile as Release, and you can change the optimisation settings to Minimum Size rather than Maximum Speed.#define WIN32_LEAN_AND_MEANis pretty useful, I always use it - it doesn't make your program much smaller, but it reduces compilation time (less to parse).
abdul
Aug 11th, 2001, 10:19 AM
Thanks a lot Parskie!! No it takes only 1 second to compile the code:)
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.