I am trying to develop a form using Microsoft Infopath and i am using Microsoft Script editor to modify the actions associated with the buttons.
One button i added gets the user id logged on to the computer and puts the value on a field. When i run the form from my hard disk, the button works just fine. But when i migrate the form to a shared drive on the network the following error ocurs:
Automation server can't create object
The line that is in error is shown below:
var objNetwork = new ActiveXObject("WScript.network");
Please help as I am a total newbie. Thanks a lot!