Opening Files on a Server and on the PC - InfoPath Dev
in

InfoPath Dev

Opening Files on a Server and on the PC

Last post 07-24-2007 10:53 AM by mhudsonjr. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 07-24-2007 10:53 AM

    Opening Files on a Server and on the PC

    I have a full trust form, and I want to run an .exe file from my computer.  This works fine but I also want to open another InfoPath form from the server( off Sharepoint).  But with the Infopath form on the server I am getting an error that states that my form must be domain level to open files on the domain.  Is there a work around for this where I am able to run files on my computer and on the server.  My code to run the file on my computer is:

     

    var chartNumber = XDocument.DOM.selectSingleNode("/myGroup/my:field").text;

    var shell = new ActiveXObject("WScript.Shell")

    var path = "\"C:Program Files\\Folder\\App.exe\" " + chartNumber + " 000";

    var oExec = shell.run(path); 

     

    Thanks for your help. 

Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.