Click to See Complete Forum and Search --> : extracting and changing icon from an exe or dll's files
rbnwares
Dec 5th, 2000, 10:39 PM
How can I change an existing icon from an exe file. For example, the icon of this program is this then I want to change that other icon. I would gladly appreciate any help.
wey97
Dec 5th, 2000, 11:11 PM
Are you saying any program's icon, or just your VB
application's icon?
rbnwares
Dec 6th, 2000, 04:51 AM
Other application.
wey97
Dec 6th, 2000, 01:58 PM
I'm not sure why you would want to change the icon of
another program, but you can't anyway. You can only change
the icon of a shortcut to the program.
rbnwares
Dec 7th, 2000, 09:05 AM
I have seen some icon tools that can actually replace icons from an exe file. In Visual C++ when u load an exe or dll file it list its icon resources and u can add and even replace its icon.
wey97
Dec 7th, 2000, 11:12 AM
Then use Visual C++.
I'm still not sure why you want to do this.
Don't know of a way in VB.
rbnwares
Dec 8th, 2000, 04:17 AM
I need to code that in VB. Actually, I want to change one of the icons of ????.exe so that the icon of the startbutton is change also. I'm improving my program so that the icon can also be change aside from changing the caption and tooltip. I know that there's an API function for extracting those icons from an exe or dll files but to replace the original icon was my problem. Got it?
My web page is at http://members.fortunecity.com/rbnwares1
check it out if u want to understand what do I mean.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.