Does anyone know how to register any extension into the registry and open it with program X in C#? For instance, when installing Word, it adds the extensions .doc, .docx etc... and then when you double click on the file Word opens up this file. This I want to achieve with my own program. Double clicking file.xxx opens up the contents using program X
A:
This is a duplicate of How to change filetype association in the registry?.
This answer intentionally made a Community Wiki.
Jason
2010-01-06 04:48:12