Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. How i can set icon for new file extenstion ?

How i can set icon for new file extenstion ?

Scheduled Pinned Locked Moved C#
jsonquestion
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    Honeyboy_20
    wrote on last edited by
    #1

    Hi , I'm new file extension using serialization and deserialization ... How i can set icon to my new file extension.

    L S 2 Replies Last reply
    0
    • H Honeyboy_20

      Hi , I'm new file extension using serialization and deserialization ... How i can set icon to my new file extension.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Honeyboy_20 wrote:

      How i can set icon to my new file extension

      You'd need to register your file extension[^].

      Bastard Programmer from Hell :suss:

      H 1 Reply Last reply
      0
      • L Lost User

        Honeyboy_20 wrote:

        How i can set icon to my new file extension

        You'd need to register your file extension[^].

        Bastard Programmer from Hell :suss:

        H Offline
        H Offline
        Honeyboy_20
        wrote on last edited by
        #3

        I want to set it programatically I'm found the method but the icon not appears http://mel-green.com/2009/04/c-set-file-type-association/[^]

        L 1 Reply Last reply
        0
        • H Honeyboy_20

          I want to set it programatically I'm found the method but the icon not appears http://mel-green.com/2009/04/c-set-file-type-association/[^]

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Honeyboy_20 wrote:

          I want to set it programatically

          The link explains how, I don't offer copy and paste code :)

          Honeyboy_20 wrote:

          I'm found the method but the icon not appears

          Read the "caveats" in the link that you posted.

          Bastard Programmer from Hell :suss:

          1 Reply Last reply
          0
          • H Honeyboy_20

            Hi , I'm new file extension using serialization and deserialization ... How i can set icon to my new file extension.

            S Offline
            S Offline
            Sivaraman Dhamodharan
            wrote on last edited by
            #5

            In the windows explorer, access tools->folder options... From the displayed dialog using the third tab (File Types) You can set the Icon for the file type. If you do it from the application itself, you should assign a Icon using the Resource editor of your IDE. See U :suss:

            http://www.mstecharticles.com/

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups