register a file extension with File Explorer

  • Thread starter Thread starter Ven
  • Start date Start date
V

Ven

does anyone know where the docs are (or sample code) to
register an extension so that FileExplorer launches your
application when the user double clicks your file? i
havent seen this in the dotnetframework itself..

thanks in advance!
 
This is not a .NET Framework feature, but it's actually something built into
the OS (registry). You can do this by creating a setup project in Visual
Studio for your application. If you install your app. with this setup
package, the file type mapping will be done. You should use the file type
editor in the setup project designer.

Look here for more info:
http://www.devnewz.com/devnewz-3-20031009CreatingSetupandDeploymentProjectsinVSNET.html
File types editor is used to associate a default command action, File
description , icon and extension for your custom files. There are many
occasions we create new file-types with extensions like ".rmt" or ".cpg"
etc. With the arrival of Win2k3 the rules specify that all files should have
a default open command and an icon association.
 
Thanks for the help Jan
Ven
-----Original Message-----
This is not a .NET Framework feature, but it's actually something built into
the OS (registry). You can do this by creating a setup project in Visual
Studio for your application. If you install your app. with this setup
package, the file type mapping will be done. You should use the file type
editor in the setup project designer.

Look here for more info:
http://www.devnewz.com/devnewz-3- 20031009CreatingSetupandDeploymentProjectsinVSNET.html
File types editor is used to associate a default command action, File
description , icon and extension for your custom files. There are many
occasions we create new file-types with extensions like ".rmt" or ".cpg"
etc. With the arrival of Win2k3 the rules specify that all files should have
a default open command and an icon association.

--
Greetz,
Jan
__________________________________
Read my weblog: http://weblogs.asp.net/jan



.
 
Back
Top