How to identify and represent new file extension with an icon

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Salim Zaabi
    New Member
    • Oct 2009
    • 25

    How to identify and represent new file extension with an icon

    I have a program that is writing hexdecimal only in a file( random character). Regardless the content of the file, I named the file with *.sse extension. How can I represent these type of files with new icon, so the icon appears with .sse extension instead the default icon. Using visual studio and the operating system is windows XP.
  • Studlyami
    Recognized Expert Contributor
    • Sep 2007
    • 464

    #2
    Im not sure how to do that programatically , but I'm sure somewhere within the deployment project you can find the option for file association. To do this manually in windows XP open up Explorer. Then goto Tools->Folder Options. Then go to the file types tag and scroll through the list until you see the extension your looking for (or add the new extension to the list if it isn't there). Once you have the file extension you want highlighted click on advance and you will see the options for icon association as well as a few other things.

    If you really need this done programatically you may have better bet posting this question under the development forum under the programming language in which the program is written.

    Comment

    • ThatThatGuy
      Recognized Expert Contributor
      • Jul 2009
      • 453

      #3
      Originally posted by Salim Zaabi
      I have a program that is writing hexdecimal only in a file( random character). Regardless the content of the file, I named the file with *.sse extension. How can I represent these type of files with new icon, so the icon appears with .sse extension instead the default icon. Using visual studio and the operating system is windows XP.
      Fiddling with the registry ... registers a new file extension... google a bit on these ....

      Comment

      • Salim Zaabi
        New Member
        • Oct 2009
        • 25

        #4
        Hi Sir,
        I have looked through the internet to answer my question, but articles I found are ot helping much.
        Would anybody help??

        Comment

        • Salim Zaabi
          New Member
          • Oct 2009
          • 25

          #5
          Hi Studlyami,

          Thanks for your response, but I'm looking for programatic way if any.

          Comment

          Working...