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. Custom extention in C#

Custom extention in C#

Scheduled Pinned Locked Moved C#
csharpxml
2 Posts 2 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.
  • N Offline
    N Offline
    Navees Ahmed
    wrote on last edited by
    #1

    I have developed application in c#. which save data in xml. but i don't want to show xml file to user. so i want to put custom file with custom extention(e.g .abc), and when user double click that file then my application will start and load xml file in my own application. How i can implement this. (my requirement is like microsoft word. when we double click on abc.doc then microsoft word load abc.doc) Thanks

    R 1 Reply Last reply
    0
    • N Navees Ahmed

      I have developed application in c#. which save data in xml. but i don't want to show xml file to user. so i want to put custom file with custom extention(e.g .abc), and when user double click that file then my application will start and load xml file in my own application. How i can implement this. (my requirement is like microsoft word. when we double click on abc.doc then microsoft word load abc.doc) Thanks

      R Offline
      R Offline
      Roger Stewart
      wrote on last edited by
      #2

      You need to register your custom extension with the Shell. Refer to the 'Integrating with the Shell' topic in the following article: Creating Document-Centric Applications in Windows Forms, Part 2[^]. Roger Stewart "I Owe, I Owe, it's off to work I go..."

      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