I am using ActiveXObject ('word.application') to open and process Word document as follows:
var w = new ActiveXObject ('word.application');
var doc = w.Documents.Open(sFileToOpen);
but doc
comes back is undefined
. File does exist and can be opened fine. We have this exact code in our production environment and it works there. Apparently I am missing something on my machine. Do I need to install some tool? This is definitely not a code problem.
Thank you