Hi Gavin,

I missed the beginning of this thread so I don't even know if it was you that asked 
the question, etc., but...

>I know you can save as XML in Office 2003. I was wondering if it would
>be possible to do this automatically with CF.
>
>So someone could upload a .doc file, CF would create XML from it
>(possibly just by CFEXECUTEing word 2003 on the server) and then be
>able to save/display/manipulate the resultant XML.

We did this in the past in an Intranet that all sorts of weird restrictions on what 
could be run where. We loaded Word on the server and ran it from a batch file that got 
fired by CFExecute (being fed the file name.path in an attribute) We set up word with 
a macro that automatically saved the document as soon as it loaded then shut itself 
back down, a sort-of onLoad() script :-) Worked like a charm. The only difficulty was 
having to use a fixed filename for the saved file and the risk of that being 
overwritten but that can be covered with a few locks and things.


--

Yours,

Kym 


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to