Search code examples
c#file-ioassociationswindows-mobile-5.0file-association

Associate a File To a Application


I'm building two programs, a text editor and a zipper, but in this two programs I want to associate a file type to they, but how can I do this? Thanks.


Solution

  • You need to edit the registry: http://support.microsoft.com/kb/257592
    You'll probably want to use regedit to see previous file associations, to make sure you don't mess up.

    c# registry basics