RTF, ASP and Word

Techno

Golden Member
Oct 9, 1999
1,063
0
0
I created some reports in ASP that generate a RTF. Problem is when the client clicks on the link to the RTF it is loading the file in a internet explorer window where as my computer when I click on the link opens the RTF in word 2000. I'm wondering if there is a way to tell the ASP that if a RTF file is clicked on, to open it in work 2000 only instead of these RTF plug ins in IE...
 

KLin

Lifer
Feb 29, 2000
30,115
498
126
Do this on the client's machine

1. right click rtf file
2. click open with
3. highlight microsoft word
4. checkmark the box that says "always use the selected program to open this kind of file"
 

Beau

Lifer
Jun 25, 2001
17,730
0
76
www.beauscott.com
You could try to force a download of the file by sending the following headers:

Response.Header("Content-Type: application/rtf; name=" & filename)
Response.Header("Content-Disposition: attachement; filename=" & filename)
Response.Header("Content-Transfer-Encoding: binary")