0

Possible Duplicate:
How to associate a file extension to the current executable in C#

I have made a text editor in C#. I'm able to open text files from my program. I want to be able to open text files with this program when double-clicking on it from Windows Explorer. How can I do this?

Note: I have created a .msi file for my whole project and am trying to run the file from the installed directory.

Community
  • 1
  • 1
impiyush
  • 754
  • 1
  • 8
  • 17
  • is file extension associated to some program? – Marco Apr 22 '11 at 07:31
  • 1
    See this [How to associate a file extension to the current executable in C#](http://stackoverflow.com/questions/69761/how-to-associate-a-file-extension-to-the-current-executable-in-c). – Adeel Apr 22 '11 at 07:35
  • First of all, think *again* about your question. Do you think it's a real question that can be seriously answered? What did you do tell the OS about your custom text editor? Remember, no magic happens in software… – Ondrej Tucny Apr 22 '11 at 07:38
  • I have done it... with the visual studio setup project... thanx... – impiyush Apr 22 '11 at 12:10

0 Answers0