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! :D
Printable View
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! :D
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..
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?
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.