I can answer that one for you.


<cftry>
    <cfobject
        action=""
        class="Word.Application"
        name="objWord"
        type="COM">
  <cfcatch>
    <cfobject
        action=""
        class="Word.Application"
        name="objWord"
        type="COM">
  </cfcatch>
</cftry>


<cfscript>
    objWord.Visible = true;
    objDoc = objWord.Documents;
    newDoc = objDoc.Add();
    newDoc.SaveAs("c:\temp\yourFile.doc");
    newDoc.Close();
    objWord.Quit();
</cfscript>

Taco Fleur
Blog  <http://www.tacofleur.com/index/blog/>
http://www.tacofleur.com/index/blog/
Methodology http://www.tacofleur.com/index/methodology/
0421 851 786
Tell me and I will forget
Show me and I will remember
Teach me and I will learn

-----Original Message-----
From: JT [mailto:[EMAIL PROTECTED]
Sent: Monday, 26 January 2004 7:46 AM
To: CF-Talk
Subject: word document in cf

How do you create a word document in cf?
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to