Hi Ben, I can't recall exactly what Phil showed us the conference, but I can tell you that MSIE (I can't speak for other browsers) doesn't know which client software to launch for " application/rtf " content, so it forces the file to a download by default.
You just have to change your local$httpHeader Assignment to include " Content-type: application/msword " to force MS Word to open the file. Subsequently MS Word then automatically converts the RTF to Word format. The same rule applies if you wanted to write a pretty HTML page and have it opened as a formatted Word document with pretty formatting - including tables. Note: you should also include the following in your local$httpHeader Assignment: Content-Disposition: inline; filename=<@dq><@VAR local$myFileName><@dq> Hope this helps. Cheers.... ----- Original Message ----- From: "Ben Johansen" <[EMAIL PROTECTED]> To: "Multiple recipients of list witango-talk" <[EMAIL PROTECTED]> Sent: Wednesday, September 04, 2002 3:05 PM Subject: Witango-Talk: httpHeader and RTF files > Hi, > > > > Anyone been able to bring up an .RTF file > > Using the header technique like the recent one for JPG > > > > At the conference Phil showed a technique for changing a RTF file and > have witango replace the value. > > If anyone remembers it, could you email me off list. > > > > I have attached what I have so far > > It prompts me to download the taf file > > > > Ben Johansen - http://www.pcforge.com > Authorized Witango Reseller <http://www.pcforge.com/WiTangoGoodies.htm> > http://www.pcforge.com/WitangoGoodies.htm > Latest downloads & List Archives @ <http://www.witango.ws/> > http://www.witango.ws > > > > ________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body
