Archived from groups: microsoft.public.windowsxp.configuration_manage (More info?)
Hello,
I'm trying to identify the registry keys needed in order to
programmatically reset TIF file associations to their default
(Microsoft Picture and Fax Viewer) in XP. I'm having a very tough time
getting it right.
I have tried several different methods, and I'm mystified. There is a
great little utility written by Ramesh Srinivasan
(http://windowsxp.mvps.org/imgassofix.htm) that works perfectly for
such a purpose (check TIF and TIFF checkboxes and click Repair
Associations), yet I can't seem to emulate the functionality in my
code.
Here are the two most promising methods that I've tried but don't work
for me:
METHOD #1 - Registry File (Thanks to Doug Knox)
********** Registry File Listing : BEGIN ********
Windows Registry Editor Version 5.00
************* VBScript File Listing: END **********
If I manually change the TIF file association to something like MODI or
MSPaint, and then use Ramesh's utility, it restores it perfectly, but
neither of these other methods seems to restore them correctly; the
associations remain as what I changed them to. Is it dependent upon
the current user? Is there some additional action or key that must be
changed to activate the new association?
Can anyone please shed some light on this for me? Also, anyone know
how to do the same thing in Server 2003?
You are about to answer a thread that has been inactive for more than 6 months. If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.