|
-
Aug 19th, 2001, 04:04 PM
#2
Frenzied Member
When you say "set this icon to another executable" do you mean you want Windows to display the extracted icon for some EXE file you select?
If so, I don't think you can do that. Windows uses the ExtractIcon API to figure out what Icon to display for an EXE file. For other file types (TXT, DOC, ZIP) there is the \DefaultIcon registry setting.
An EXE may have more than one icon in it but, as far as I know, Windows will always use the first one for the EXE. The other icons can be used to display differnt file formats associated with that EXE.
HKEY_CLASSES_ROOT\.txt\DefaultIcon = "myapp.exe, 2"
Use the 2nd icon in myapp.exe as the icon for TXT files.
Greg
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|