473,396 Members | 2,059 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

File association

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
6 1743
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
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
Hi José,

Been there, read that.

It <was> interesting. ;-)

Regards,
Fergus
Nov 20 '05 #4
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: steve | last post by:
Hi, I just upgraded my php but ran into a problem. Never seen this before. Somehow it seems I lost php file association. When I do a http://localhost/something.php I get a prompt for dowload...
6
by: Justin F | last post by:
I have set up file association for my application (VB.Net). I'm having problems getting the filename that was double-clicked. On my machine at work, if the filename being passed in to the...
2
by: Mark | last post by:
I have a windows 2000 PC and it does not know what a hta file is. any ideas. Mark
8
by: L Mehl | last post by:
Hello -- Fairly often, but not always, when I start the app by clicking the mdb or an icon set up to start it, I get the message "Cannot find the file 'c:\path...\dbname.mdb' ...." and...
4
by: Rob | last post by:
I have an Access application that allows users to open up certain files from within Access (.doc files with automation, .pdf's with a pdf viewing form). Other formats, we want to use Internet...
1
by: JerryP | last post by:
Hi Experts, from my program I offer the user to launch different files from a directory (normaly in this directory are .txt files) - but sometimes other files may be in there - so if my program...
2
by: Peter | last post by:
I have created a Setup project wich includes couple of text file and it also includes file association of .tsrx. After the application is installed if I happen to delete any one of the text...
1
by: Allen | last post by:
I have installed the Updater Application Block, and then I should Deploy the QuickStarts. " Install the QuickStarts After you install the Updater Application Block, you should install the...
28
by: Tim Daneliuk | last post by:
I have a program wherein I want one behavior when a file is set as executable and a different behavior if it is not. Is there a simple way to determine whether a given named file is executable...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.