Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Exe files Icons

Author
Message
Vicious Cat
15
Years of Service
User Offline
Joined: 17th Nov 2008
Location: The Halls of The Mountain King, Scotland
Posted: 18th Nov 2008 19:43
This may well be a Vista thing rather than GDK but...
So, I have my key press thing built and linked.
How do I change the icon?
in XP it was just a matter of right-clicking and changing the image, but I seem not to have that option.
Do I need some kind of resource file association, or am I looking in the wrong place?

cheers for any help
Sid
jezza
16
Years of Service
User Offline
Joined: 8th Mar 2008
Location: Bham, UK
Posted: 19th Nov 2008 08:31
right clicking only chnagees the icon for shortcuts, not exes. And i don't know whether even that works for vista. To change the icon properly, I think you need the full version Vsual Studio, but you may be able to do it from Project Settings.
You could also try something like ResHacker
Vicious Cat
15
Years of Service
User Offline
Joined: 17th Nov 2008
Location: The Halls of The Mountain King, Scotland
Posted: 19th Nov 2008 09:00
Ah, OK, cheers for that.
Done a shortcut for it - now theres only one exe (saves 2MB - for a simple keypress prog!!!).
Can't find anything in the Project Settings, so I guess I need to buy the full version
Thanks again

Sid
CheatCat
17
Years of Service
User Offline
Joined: 7th Mar 2007
Location: Sweden
Posted: 19th Nov 2008 12:24
Rightclick on your project and choose Add > New Item. Then write .rc after the name and press Add. Rightclick on the .rc file and choose Open With. Now choose Source Code Editor and press Ok.

Write this code in the .rc file and compile:

ico ICON "<iconname>"
Jonas
19
Years of Service
User Offline
Joined: 10th Aug 2005
Location: What day is it?
Posted: 22nd Nov 2008 01:21
Yeah, editing resource files in the express version isn't supported.
Mahoney
16
Years of Service
User Offline
Joined: 14th Apr 2008
Location: The Interwebs
Posted: 23rd Nov 2008 16:55
Quote: "Yeah, editing resource files in the express version isn't supported. "


Yes it is. You just have to do it manually.

Windows Vista Home Premium Intel Pentium Dual-Core 1.6 Ghz 1GB DDR2 RAM GeForce 8600GT Twin Turbo
Vicious Cat
15
Years of Service
User Offline
Joined: 17th Nov 2008
Location: The Halls of The Mountain King, Scotland
Posted: 24th Nov 2008 14:19
I tried the method above, but wouldn't accept the .rc because I'm only using Express.
No biggy

Sid
CheatCat
17
Years of Service
User Offline
Joined: 7th Mar 2007
Location: Sweden
Posted: 24th Nov 2008 15:30
Well, I have the Express version and it worked...
You must open the .rc file with Notepad or something if you want to edit it.
Vicious Cat
15
Years of Service
User Offline
Joined: 17th Nov 2008
Location: The Halls of The Mountain King, Scotland
Posted: 25th Nov 2008 15:28
Brilliant - Thanks CC (I'd put it in the wrong folder)

Login to post a reply

Server time is: 2024-09-30 11:25:08
Your offset time is: 2024-09-30 11:25:08