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. Visual Basic
  4. How to attach any extension with your application

How to attach any extension with your application

Scheduled Pinned Locked Moved Visual Basic
comtutorial
4 Posts 2 Posters 1 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.
  • R Offline
    R Offline
    Rizwan Bashir
    wrote on last edited by
    #1

    I have build an application where I create an extension "alm". Now I want to register this extension so that on double click of any file with "alm" Extension should run my application. Regards

    Rizwan Bashir ALM Soft[^]

    L 1 Reply Last reply
    0
    • R Rizwan Bashir

      I have build an application where I create an extension "alm". Now I want to register this extension so that on double click of any file with "alm" Extension should run my application. Regards

      Rizwan Bashir ALM Soft[^]

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #2

      The easiest way is interactively: double-click a file with that extension in Windows Explorer when it shows its dialog telling "Windows can not open..." choose "select from list", then "Browse", browse to your exe file, check the checkbox "Always use..." and click "OK". This will create a permanent link and register it. You can do that programmatically also, I don't know the details be heart. :)

      Luc Pattyn


      try { [Search CP Articles] [Search CP Forums] [Forum Guidelines] [My Articles] } catch { [Google] }


      R 1 Reply Last reply
      0
      • L Luc Pattyn

        The easiest way is interactively: double-click a file with that extension in Windows Explorer when it shows its dialog telling "Windows can not open..." choose "select from list", then "Browse", browse to your exe file, check the checkbox "Always use..." and click "OK". This will create a permanent link and register it. You can do that programmatically also, I don't know the details be heart. :)

        Luc Pattyn


        try { [Search CP Articles] [Search CP Forums] [Forum Guidelines] [My Articles] } catch { [Google] }


        R Offline
        R Offline
        Rizwan Bashir
        wrote on last edited by
        #3

        Thanks Pattyn I have posted this message here because I need to do it programmatically.

        Rizwan Bashir ALM Soft[^]

        L 1 Reply Last reply
        0
        • R Rizwan Bashir

          Thanks Pattyn I have posted this message here because I need to do it programmatically.

          Rizwan Bashir ALM Soft[^]

          L Offline
          L Offline
          Luc Pattyn
          wrote on last edited by
          #4

          Hi, search CodeProject for file association (that would have worked yesterday too) :)

          Luc Pattyn


          try { [Search CP Articles] [Search CP Forums] [Forum Guidelines] [My Articles] } catch { [Google] }


          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