|
-
Sep 5th, 2009, 06:04 PM
#1
Thread Starter
Fanatic Member
Change icon of a file
Hello,
here I am with another question! I have an app. that creates a new file type and it has the default windows icon for not-known extensions, is there a way to change its icon after it has been created?
Thanks a lot!
-
Sep 5th, 2009, 09:28 PM
#2
Re: Change icon of a file
I'm confused as to what you want to know...are you associating an icon with a file-type? Or am I not on target here..
-
Sep 6th, 2009, 12:26 AM
#3
Thread Starter
Fanatic Member
Re: Change icon of a file
Oh, sorry for being confusing... My app creates a file with this extension .enc, there isn't any icon associated to this file type, so I would like to change the icon for each file the app creates, is it clearer now?
-
Sep 6th, 2009, 03:01 AM
#4
Re: Change icon of a file
If I understand correctly you are looking to associate a default icon with files of your .enc file exension?
Assuming that the file type is already referenced in the registry (I'm figuring you've already done this so that your application will open if the user double-clicks on a .enc file?) you just need to amend another registry entry to point at a specified icon.
This article does that - its not the clearest example in the world but it should do the trick.
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
|