One possibility is to talk to Word via COM on your server, using the
CFOBJECT tag (or CFSCRIPT).  I've done this in the past in a development
environment, but I'm not sure how wise it would be to do it in a production
environment.  Here's a link to some resources about how to do what I just
described:

http://www.cfcomet.com/cfcomet/word/

On the other hand, you'd be much better off if you could just manipulate a
text file instead.  Then you could just use CFFILE.  Could that be made an
option?

Bob

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Amir Far
> Sent: Thursday, 7 February 2002 8:34 a.m.
> To: [EMAIL PROTECTED]
> Subject: [CFTALKTor] Manipulating .doc files
>
>
> Hi there,
>
> I need to manipulate couple of .doc ( Microsoft Word ) files by
> Coldfusion.
> Actually I want to change couple of lines each time user calls a
> .cfm file.
> I've tried to it manually by opening the file in Notepad and make some
> changes, save it, and open it in Word, but it gave me error which MS word
> couldn't open the file.
>
> Is the any way to do that safely?
>
> Amir
>
>
>
> -
> You are subscribed to the CFUGToronto CFTALK ListSRV.
> This message has been posted by: "Amir Far" <[EMAIL PROTECTED]>
> To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/
> Manager: Kevin Towes ([EMAIL PROTECTED])
> http://www.CFUGToronto.org/
> This System has been donated by Infopreneur, Inc.
> (http://www.infopreneur.net)
>



-
You are subscribed to the CFUGToronto CFTALK ListSRV.
This message has been posted by: "Bob Silverberg" <[EMAIL PROTECTED]>
To Unsubscribe, Please Visit and Login to http://www.CFUGToronto.org/
Manager: Kevin Towes ([EMAIL PROTECTED]) http://www.CFUGToronto.org/
This System has been donated by Infopreneur, Inc.
(http://www.infopreneur.net)

Reply via email to