By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,712 Members | 1,430 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,712 IT Pros & Developers. It's quick & easy.

File association

P: n/a
Nak
Hi there,

I am implementing file association from within my application,
association that occurs after installation. Anyway, I remember a while back
seeing a key in the registry that was used to store the previous registered
application to an extension, but I can't for the life of me find out what
the exact key was called, I *think* it was "Previous" or something like
this. Anyway, what it means is that my application could restore the
previous association on "unassociation".

I would rather use the correct registry key for this rather than making
up my own, just incase other applications can use it. Anyway, I asked the
windows newsgroup with not even a single answer after quite a long wait,
over 2 weeks. So I thought I'd ask here, just incase one of you had
experience in this, thanks for your help in advance :-)

Nick.

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
"No matter. Whatever the outcome, you are changed."

Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Nov 20 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
Hi Nick,

It seems that there is no such registry key that will save the previous
association.
I agree with Fergus's suggestion that you may need to save the registry key
before you make changes.
And restore it after you uninstall the application.

You may use the tool regmon to see what has changed.
Here is the link.
http://www.sysinternals.com/ntw2k/source/regmon.shtml

Here is a link.
HOWTO: Associate a File Extension with Your Application (Win32)
http://support.microsoft.com/?id=185453

If you have any related question,please feel free to let me know.

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
--------------------
From: "Nak" <a@a.com>
Subject: File association
Date: Tue, 21 Oct 2003 21:53:11 +0100
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <O8*************@TK2MSFTNGP11.phx.gbl>
Newsgroups: microsoft.public.dotnet.languages.vb
NNTP-Posting-Host: dsl213-218-227-57.as15444.net 213.218.227.57
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP11.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:148824
X-Tomcat-NG: microsoft.public.dotnet.languages.vb

Hi there,

I am implementing file association from within my application,
association that occurs after installation. Anyway, I remember a while backseeing a key in the registry that was used to store the previous registered
application to an extension, but I can't for the life of me find out what
the exact key was called, I *think* it was "Previous" or something like
this. Anyway, what it means is that my application could restore the
previous association on "unassociation".

I would rather use the correct registry key for this rather than making
up my own, just incase other applications can use it. Anyway, I asked the
windows newsgroup with not even a single answer after quite a long wait,
over 2 weeks. So I thought I'd ask here, just incase one of you had
experience in this, thanks for your help in advance :-)

Nick.

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ \"No matter. Whatever the outcome, you are changed."

Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ \


Nov 20 '05 #2

P: n/a
Hello, friends:

I've seen some threads regarding file association and I think that there isn't very much information about it.
But you can find all the information you need in a MSDN chapter beginning at http://msdn.microsoft.com/library/de.../fileassoc.asp .

It is a lot of reading but, at least for me, very interesting.

I hope you find it useful.

Regards.
"Nak" <a@a.com> escribió en el mensaje news:O8*************@TK2MSFTNGP11.phx.gbl...
| Hi there,
|
| I am implementing file association from within my application,
| association that occurs after installation. Anyway, I remember a while back
| seeing a key in the registry that was used to store the previous registered
| application to an extension, but I can't for the life of me find out what
| the exact key was called, I *think* it was "Previous" or something like
| this. Anyway, what it means is that my application could restore the
| previous association on "unassociation".
|
| I would rather use the correct registry key for this rather than making
| up my own, just incase other applications can use it. Anyway, I asked the
| windows newsgroup with not even a single answer after quite a long wait,
| over 2 weeks. So I thought I'd ask here, just incase one of you had
| experience in this, thanks for your help in advance :-)
|
| Nick.
|
| --
| /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
| "No matter. Whatever the outcome, you are changed."
|
| Fergus - September 5th 2003
| /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
|
|
Nov 20 '05 #3

P: n/a
Hi José,

Been there, read that.

It <was> interesting. ;-)

Regards,
Fergus
Nov 20 '05 #4

P: n/a
Nak
Hi José,

I shall take a read, it looks very interested. Thanks for your help :-)

Nick.

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
"No matter. Whatever the outcome, you are changed."

Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Nov 20 '05 #5

P: n/a
Nak
Hi Fergus,
Been there, read that.

It <was> interesting. ;-)


I wonder if that little ol' MSDN site has info on putting some new items
into the common tasks panel in explorer, such as changing the "View as a
slide show" button so it loads up a different app, now that would be nice,
I'm off to check it out!

Nick.

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
"No matter. Whatever the outcome, you are changed."

Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Nov 20 '05 #6

P: n/a
Hi Nick,

Did my suggestion help you?
If you have any question on this issue please post here.

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 20 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.