Open .RTF files in a new window

G

Greg

Hi,

I need to modify the XP registry so that when a user clicks on a link to an
RTF document it opens up Microsoft Word in a different window. The catch is
that I don't want any other Word extensions to be opened in a new window
(i.e. If a user clicks on a .doc document, it will open up in the same
window).
I have been playing with the BrowserFlags registry setting and have added it
to the HKCU\Software\Class\Word.RTF.8 key without success.

Any help would be appreciated.

Kind Regards

Greg
 
R

Ramesh, MS-MVP

Hi Greg,

Click Start, Run and type:

cmd /k assoc .rtf

Copy the output and post here.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com
Winhelponline.com blog http://www.winhelponline.com/blog


Hi,

I need to modify the XP registry so that when a user clicks on a link to an
RTF document it opens up Microsoft Word in a different window. The catch is
that I don't want any other Word extensions to be opened in a new window
(i.e. If a user clicks on a .doc document, it will open up in the same
window).
I have been playing with the BrowserFlags registry setting and have added it
to the HKCU\Software\Class\Word.RTF.8 key without success.

Any help would be appreciated.

Kind Regards

Greg
 
G

Greg

On another note, are you able to provide me with the details of the
browserflags setting and the editflags options available? I haven't been able
to find any information on these two configurations.

Thanks

Greg
 
R

Ramesh, MS-MVP

EditFlags - FILETYPEATTRIBUTEFLAGS:
http://msdn.microsoft.com/en-us/library/bb762506(VS.85).aspx

I don't think there is any such documentation for BrowserFlags.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com
Winhelponline.com blog http://www.winhelponline.com/blog


On another note, are you able to provide me with the details of the
browserflags setting and the editflags options available? I haven't been able
to find any information on these two configurations.

Thanks

Greg
 
R

Ramesh, MS-MVP

If you're using Office 2007, the BrowserFlags needs a different Value Data. See http://support.microsoft.com/kb/927009

If that does not help, post the file association data for .RTF so that I can try to replicate the problem at my end.

1. Download FileExtInfo.zip from here:
http://windowsxp.mvps.org/fileextinfo.htm

2. Unzip the utility and extract the files to Desktop.
3. Double-click "FileExtInfo.exe" to run it.
4. Select [.RTF] from the list box
5. Click "View file association report"
6. Copy the contents of the report and include it in your reply.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com
Winhelponline.com blog http://www.winhelponline.com/blog


..rtf=Word.RTF.8

This is where I inserted the browserflags setting.

Greg
 
G

Greg

Hi Ramesh,

I am not at the computer in question but I will look at it first thing in
the morning.

BTW, it is Office 2000 that is being used. As a point of reference, should I
be able to apply the browserflags value at the Word.RTF.8 registry key?

Greg

Ramesh said:
If you're using Office 2007, the BrowserFlags needs a different Value Data. See http://support.microsoft.com/kb/927009

If that does not help, post the file association data for .RTF so that I can try to replicate the problem at my end.

1. Download FileExtInfo.zip from here:
http://windowsxp.mvps.org/fileextinfo.htm

2. Unzip the utility and extract the files to Desktop.
3. Double-click "FileExtInfo.exe" to run it.
4. Select [.RTF] from the list box
5. Click "View file association report"
6. Copy the contents of the report and include it in your reply.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com
Winhelponline.com blog http://www.winhelponline.com/blog


..rtf=Word.RTF.8

This is where I inserted the browserflags setting.

Greg

Ramesh said:
Hi Greg,

Click Start, Run and type:

cmd /k assoc .rtf

Copy the output and post here.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com
Winhelponline.com blog http://www.winhelponline.com/blog


Hi,

I need to modify the XP registry so that when a user clicks on a link to an
RTF document it opens up Microsoft Word in a different window. The catch is
that I don't want any other Word extensions to be opened in a new window
(i.e. If a user clicks on a .doc document, it will open up in the same
window).
I have been playing with the BrowserFlags registry setting and have added it
to the HKCU\Software\Class\Word.RTF.8 key without success.

Any help would be appreciated.

Kind Regards

Greg
 
R

Ramesh, MS-MVP

Greg,

Yes. That should work according to the docs. If I get a detailed file association report, I think I can track where the problem lies.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com
Winhelponline.com blog http://www.winhelponline.com/blog


Hi Ramesh,

I am not at the computer in question but I will look at it first thing in
the morning.

BTW, it is Office 2000 that is being used. As a point of reference, should I
be able to apply the browserflags value at the Word.RTF.8 registry key?

Greg

Ramesh said:
If you're using Office 2007, the BrowserFlags needs a different Value Data. See http://support.microsoft.com/kb/927009

If that does not help, post the file association data for .RTF so that I can try to replicate the problem at my end.

1. Download FileExtInfo.zip from here:
http://windowsxp.mvps.org/fileextinfo.htm

2. Unzip the utility and extract the files to Desktop.
3. Double-click "FileExtInfo.exe" to run it.
4. Select [.RTF] from the list box
5. Click "View file association report"
6. Copy the contents of the report and include it in your reply.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com
Winhelponline.com blog http://www.winhelponline.com/blog


..rtf=Word.RTF.8

This is where I inserted the browserflags setting.

Greg

Ramesh said:
Hi Greg,

Click Start, Run and type:

cmd /k assoc .rtf

Copy the output and post here.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com
Winhelponline.com blog http://www.winhelponline.com/blog


Hi,

I need to modify the XP registry so that when a user clicks on a link to an
RTF document it opens up Microsoft Word in a different window. The catch is
that I don't want any other Word extensions to be opened in a new window
(i.e. If a user clicks on a .doc document, it will open up in the same
window).
I have been playing with the BrowserFlags registry setting and have added it
to the HKCU\Software\Class\Word.RTF.8 key without success.

Any help would be appreciated.

Kind Regards

Greg
 
G

Greg

Here is the output Ramesh:

HKEY_CLASSES_ROOT\Word.RTF.8\shell\Open\ddeexec\Application]
@="WinWord"

[HKEY_CLASSES_ROOT\Word.RTF.8\shell\Open\ddeexec\Topic]
@="System"

[HKEY_CLASSES_ROOT\Word.RTF.8\shell\Print]
@="&Print"

[HKEY_CLASSES_ROOT\Word.RTF.8\shell\Print\command]
@="\"C:\\Program Files\\Microsoft Office\\Office\\WINWORD.EXE\" /x /n"
"command"=hex(7):33,00,40,00,36,00,21,00,21,00,67,00,78,00,73,00,66,00,28,00,\
4e,00,67,00,5d,00,71,00,46,00,60,00,48,00,7b,00,4c,00,73,00,57,00,4f,00,52,\
00,44,00,46,00,69,00,6c,00,65,00,73,00,3e,00,6c,00,6c,00,54,00,5d,00,6a,00,\
49,00,7b,00,6a,00,66,00,28,00,3d,00,31,00,26,00,4c,00,5b,00,2d,00,38,00,31,\
00,2d,00,5d,00,20,00,2f,00,78,00,20,00,2f,00,6e,00,00,00,00,00

[HKEY_CLASSES_ROOT\Word.RTF.8\shell\Print\ddeexec]
@="[REM _DDE_Minimize][FileOpen(\"%1\")][t=IsDocumentDirty()][FilePrint
0][SetDocumentDirty t][DocClose]"

[HKEY_CLASSES_ROOT\Word.RTF.8\shell\Print\ddeexec\Application]
@="WinWord"

[HKEY_CLASSES_ROOT\Word.RTF.8\shell\Print\ddeexec\ifexec]
@="[FileOpen(\"%1\")][FilePrint 0][FileExit 2]"

[HKEY_CLASSES_ROOT\Word.RTF.8\shell\Print\ddeexec\Topic]
@="System"

[HKEY_CLASSES_ROOT\Word.RTF.8\shell\Printto]

[HKEY_CLASSES_ROOT\Word.RTF.8\shell\Printto\command]
@="\"C:\\Program Files\\Microsoft Office\\Office\\WINWORD.EXE\" /n"
"command"=hex(7):33,00,40,00,36,00,21,00,21,00,67,00,78,00,73,00,66,00,28,00,\
4e,00,67,00,5d,00,71,00,46,00,60,00,48,00,7b,00,4c,00,73,00,57,00,4f,00,52,\
00,44,00,46,00,69,00,6c,00,65,00,73,00,3e,00,6c,00,6c,00,54,00,5d,00,6a,00,\
49,00,7b,00,6a,00,66,00,28,00,3d,00,31,00,26,00,4c,00,5b,00,2d,00,38,00,31,\
00,2d,00,5d,00,20,00,2f,00,6e,00,00,00,00,00

[HKEY_CLASSES_ROOT\Word.RTF.8\shell\Printto\ddeexec]
@="[REM _DDE_Minimize][FileOpen(\"%1\")][FilePrintSetup \"%2 on
p\",.DoNotSetAsSysDefault=1][FilePrint 0][DocClose 2][FilePrintSetup \"\"]"

[HKEY_CLASSES_ROOT\Word.RTF.8\shell\Printto\ddeexec\Application]
@="WinWord"

[HKEY_CLASSES_ROOT\Word.RTF.8\shell\Printto\ddeexec\ifexec]
@="[FileOpen(\"%1\")][FilePrintSetup \"%2 on
p\",.DoNotSetAsSysDefault=1][FilePrint 0][FileExit 2]"

[HKEY_CLASSES_ROOT\Word.RTF.8\shell\Printto\ddeexec\Topic]
@="System"


[HKEY_CLASSES_ROOT\SystemFileAssociations\.RTF]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.RTF\DefaultIcon]
@=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,\
00,65,00,73,00,25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,\
4e,00,54,00,5c,00,41,00,63,00,63,00,65,00,73,00,73,00,6f,00,72,00,69,00,65,\
00,73,00,5c,00,57,00,4f,00,52,00,44,00,50,00,41,00,44,00,2e,00,45,00,58,00,\
45,00,22,00,2c,00,31,00,00,00

[HKEY_CLASSES_ROOT\SystemFileAssociations\.RTF\shell]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.RTF\shell\open]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.RTF\shell\open\command]
@=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,\
00,65,00,73,00,25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,\
4e,00,54,00,5c,00,41,00,63,00,63,00,65,00,73,00,73,00,6f,00,72,00,69,00,65,\
00,73,00,5c,00,57,00,4f,00,52,00,44,00,50,00,41,00,44,00,2e,00,45,00,58,00,\
45,00,22,00,20,00,22,00,25,00,31,00,22,00,00,00


[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.RTF]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.RTF\OpenWithList]
"a"="WINWORD.EXE"
"MRUList"="adcb"
"b"="IEXPLORE.EXE"
"c"="WORDPAD.EXE"
"d"="NOTEPAD.EXE"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.RTF\OpenWithProgids]
"rtffile"=hex(0):
"Word.RTF.8"=hex(0):



Ramesh said:
If you're using Office 2007, the BrowserFlags needs a different Value Data. See http://support.microsoft.com/kb/927009

If that does not help, post the file association data for .RTF so that I can try to replicate the problem at my end.

1. Download FileExtInfo.zip from here:
http://windowsxp.mvps.org/fileextinfo.htm

2. Unzip the utility and extract the files to Desktop.
3. Double-click "FileExtInfo.exe" to run it.
4. Select [.RTF] from the list box
5. Click "View file association report"
6. Copy the contents of the report and include it in your reply.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com
Winhelponline.com blog http://www.winhelponline.com/blog


..rtf=Word.RTF.8

This is where I inserted the browserflags setting.

Greg

Ramesh said:
Hi Greg,

Click Start, Run and type:

cmd /k assoc .rtf

Copy the output and post here.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com
Winhelponline.com blog http://www.winhelponline.com/blog


Hi,

I need to modify the XP registry so that when a user clicks on a link to an
RTF document it opens up Microsoft Word in a different window. The catch is
that I don't want any other Word extensions to be opened in a new window
(i.e. If a user clicks on a .doc document, it will open up in the same
window).
I have been playing with the BrowserFlags registry setting and have added it
to the HKCU\Software\Class\Word.RTF.8 key without success.

Any help would be appreciated.

Kind Regards

Greg
 
R

Ramesh, MS-MVP

Greg,

Will install Office 2000 this week and test it. Meantime, can you report a complete log? The one posted earlier is missing some file class information, such as:.

HKEY_CLASSES_ROOT\.RTF
HKEY_CLASSES_ROOT\Word.RTF.8

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
The Winhelponline Blog: http://www.winhelponline.com/blog
Windows® Troubleshooting: http://www.winhelponline.com

Here is the output Ramesh:

HKEY_CLASSES_ROOT\Word.RTF.8\shell\Open\ddeexec\Application]
@="WinWord"

[HKEY_CLASSES_ROOT\Word.RTF.8\shell\Open\ddeexec\Topic]
@="System"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top