Home All Groups Group Topic Archive Search About

file associatoin with application

Author
12 May 2006 5:17 PM
PJ6
How do I, in my (2005) application, cause a file with a certain extention to
be associated with my application?

Paul

Author
12 May 2006 5:43 PM
Barry
Author
12 May 2006 5:55 PM
PJ6
Perfect, thank you.

Show quoteHide quote
"Barry" <barry.ocon***@manx.net> wrote in message
news:1147455801.533841.243110@y43g2000cwc.googlegroups.com...
> Paul
>
> http://www.mentalis.org/soft/class.qpx?id=5
>
> HTH
>
> Barry
>
Author
12 May 2006 10:11 PM
Herfried K. Wagner [MVP]
"PJ6" <no***@nowhere.net> schrieb:
> How do I, in my (2005) application, cause a file with a certain extention
> to be associated with my application?

Typically this is done as part of the application's setup.  If you want to
add/remove the association within your application, check out the sample
from mentalis.org mentioned in another reply.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
12 May 2006 11:49 PM
PJ6
Well one of the selling points of DotNet apps is no need to install... what
I plan on doing is to make the file association on startup if it's not
already there. Then I can allow users the benefit of being able to
double-click on  a "project" file, and yet not require an install.

Maybe its a bad idea, I don't know I've never done it before. I've always
stored data in a database so this file saving thing is new to me.

Paul

Show quoteHide quote
"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
news:eOFKJEhdGHA.1436@TK2MSFTNGP05.phx.gbl...
> "PJ6" <no***@nowhere.net> schrieb:
>> How do I, in my (2005) application, cause a file with a certain extention
>> to be associated with my application?
>
> Typically this is done as part of the application's setup.  If you want to
> add/remove the association within your application, check out the sample
> from mentalis.org mentioned in another reply.
>
> --
> M S   Herfried K. Wagner
> M V P  <URL:http://dotnet.mvps.org/>
> V B   <URL:http://classicvb.org/petition/>