Thanks for the info Sam.  The namespace declaration was a little
different so Office XP and up weren't opening it although Office 2000
would open it now problem.   Everything works now though.

marlon

[EMAIL PROTECTED]

Samuel Neff wrote:

> You can specify what view to open Word in with a little XML within the
> <head> element:
>
> <xml>
> <w:WordDocument>
>   <w:View>Print</w:View>
> </w:WordDocument>
> </xml>
>
>
> Make sure you have the MSO namespace declarations at the top of your
> document:
>
> <html xmlns:w="urn:schemas-microsoft-com:office:word"
> xmlns="http://www.w3.org/TR/REC-html40">
>
> Best regards,
>
> Sam
>
> ----------------------------------------------
> Blog:  http://www.rewindlife.com
> Chart: http://www.blinex.com/products/charting
> ----------------------------------------------
>
> > -----Original Message-----
> > From: Marlon Moyer [mailto:[EMAIL PROTECTED]
> > Sent: Sunday, October 12, 2003 7:47 PM
> > To: CF-Talk
> > Subject: Re: Creating Word Doc
> >
> > I've run into problems with Office XP opening it up in a code view
> > instead of document view allthough the same document opens up
> > beautifully in Word97 or Work2000.  .
> >
> > marlon
> >
> > [EMAIL PROTECTED]
> >
> > Philip Arnold wrote:
> >
> > > I've suggested this before, and it works on the later
> > versions (Word 97
> > > onwards)
> > >
> > > Just change the Content type to be Word, and then send it
> > HTML - Word
> > > and Excel both interpret HTML into the "native" display
> > format, which
> > > makes life a LOT easier
> > >
> > > <CFCONTENT TYPE="application/ms-word">
> > >
> > > Don't forget to send a reset before, and abort after the content (in
> > > case you have an OnRequestEnd.cfm)
> > >
> > > HTH
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to