Has anyone used CF5 to access MS Word 2003 objects? All was fine with 2000, but now none of the properties seem to work. The following example results in the Range, Close and Count properties/methods not being found:
<CFOBJECT TYPE="COM" NAME="objWord" CLASS="Word.Application" ACTION="Create"> <CFSCRIPT> /* This returns the 'Documents' collection of the Word object */ objDoc = objWord.Documents; /* Specify a document to open */ newDoc = objDoc.open("c:\jellystone\tempdir\bs7.txt"); actDoc = newDoc.application; objActDoc = actDoc.ActiveDocument; objWords = objActDoc.Paragraphs; docRange = objWords.Range(); docRangeText = docRange.Text; /* Close Object actDoc.Close();*/ /* Quit Word */ objWord.Quit(); writeoutput("Here we are:"&objWords.count); </CFSCRIPT> Any Help would be greatly appreciated. Thanks, Jay Reichenbach Senior Product Developer OpenHire, Inc. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.houseoffusion.com/banners/view.cfm?bannerid=11 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183057 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54