Home All Groups Group Topic Archive Search About

Registering my program as default for my file extension

Author
12 Apr 2005 2:02 PM
Robert S. Liles
Can I, during installation or on first running, register my program as the
default program for my designated file extension?  That would allow me to
just double click on the files that it creates and it would open the program
and load the file.

TIA,
Bobbo

Author
12 Apr 2005 4:22 PM
Ken Tucker [MVP]
Hi,

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/html/vbtskaddingdeletingdocumenttypesassociatedfileextensions.asp

Ken
----------------
"Robert S. Liles" <rli***@midsouth.rr.com> wrote in message
news:gyQ6e.1339$BS.1120@tornado.ohiordc.rr.com...
Can I, during installation or on first running, register my program as the
default program for my designated file extension?  That would allow me to
just double click on the files that it creates and it would open the program
and load the file.

TIA,
Bobbo
Author
12 Apr 2005 5:36 PM
Crouchie1998
This is a fantastic example in VB.NET:

http://www.mentalis.org/php/dm/dm.qpx?5

Here's another great example:

http://www.vbcity.com/forums/faq.asp?fid=15&cat=Registry#TID72502

Crouchie1998
BA (HONS) MCP MCSE
Official Microsoft Beta Tester