wordApp.documents.open results in error code 800A1401 on some mach

K

Kris

Hi people,

i have a .vbs-script, which runs on some machines and on some other it shows
me error code 800A1401. The code looks something like this:

Dim wordApp
Set wordApp = CreateObject("Word.Application")
wordApp.documents.open("\\192.168.2.22\files\testfile.doc")
....

...and this is where the error occurs, in the wordApp.documents.open-command.
But only on two machines. It is not because of ActiveX-config in ie. I
isolated the .vbs from the web-application and get the same error on these
machines.

The file-access-permissions are given.

Kris
 
K

Kris

No. How do you mean what kind of object?

The code is actually from someone other. Now i have to fix that error. But,
like i said, the .vbs is working on my own and some other machines. Only on a
few another machines it throws that error. The error comes from Word.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top