View unanswered posts | View active topics It is currently Mon Sep 01, 2014 7:29 am



Reply to topic  [ 4 posts ] 
 File type associations 
Author Message

Joined: Sat Apr 21, 2001 7:01 am
Posts: 53
Location: Lexington, MA, USA
Post File type associations
Is there an easy way to check if a certain type of file is associated with a certain program, and also to make or destroy an association? I know it involves doing stuff with the registry, but I have no clue what to do. Oh yeah, and I mean doing this inside a program, not directly using regedit. Does anyone have any experience doing stuff like this?


Mon Oct 13, 2003 11:25 am
Profile ICQ

Joined: Mon Aug 25, 2003 7:01 am
Posts: 1
Location: UK
Post File type associations
In windows - open a folder (any), click tools, folder options and then the file types tab. The list applies to any folder bty

changes HKEY_CLASSES_ROOT\.[whatever file type]

[ October 13, 2003: Message edited by: markit ]</p>


Mon Oct 13, 2003 11:56 am
Profile WWW

Joined: Wed Sep 29, 1999 7:01 am
Posts: 59
Location: North Shore City, Auckland, New Zealand
Post File type associations
if you want to do that with C/C++ code i believe you're in for some shell programming

http://msdn.microsoft.com/library/en-us/dnanchor/html/anch_WinShell.asp


Mon Oct 13, 2003 10:34 pm
Profile WWW

Joined: Sat Apr 21, 2001 7:01 am
Posts: 53
Location: Lexington, MA, USA
Post File type associations
You misunderstand. I want a program to change a file's association, I already know how to do that myself using Explorer.


Tue Oct 14, 2003 6:35 am
Profile ICQ
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware.