I'm new to ColdFusion.
In my cfm file I used the following codes to open up Word, and it worked fine.
var doc = new ActiveXObject("Word.Application"); // creates the word object
doc.Visible=true; // display Word window
doc.Documents.Open("//myPath/mailMerge.dot"); // specify path to document
but when I used it on my user's machine who is using Internet Explorer Ver.5 and Windows 2000, I got the message like this:
Automation Server can't create an object
I have no clue how and why this happened. Could you help me out!
Thanks a lot!
In my cfm file I used the following codes to open up Word, and it worked fine.
var doc = new ActiveXObject("Word.Application"); // creates the word object
doc.Visible=true; // display Word window
doc.Documents.Open("//myPath/mailMerge.dot"); // specify path to document
but when I used it on my user's machine who is using Internet Explorer Ver.5 and Windows 2000, I got the message like this:
Automation Server can't create an object
I have no clue how and why this happened. Could you help me out!
Thanks a lot!