views:

78

answers:

1

Hello,

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.

+1  A: 

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

Jeffrey Aylesworth
Remember that I'm developing for Windows Mobile.
Nathan Campos
Also, I need to change something in my application to automatic show the file content?
Nathan Campos
Sorry, I missed the windows mobile tag. I've never used windows mobile, but a bit after a bit of googling, it seems that it's still done by editing the registry, not sure it's in the same place or somewhere else though
Jeffrey Aylesworth