Sage 100

 View Only
  • 1.  What code do you use when opening web browser to p

    Posted 09-09-2011 08:43
    What code do you use when opening web browser to pass a url using scripting? I have used Set oie = CreateObject(""InternetExplorer.Application"") oie.visible = true oie.navigate(""http://url.address.to.go.to."") For the most part this works but I have one machine that will fail to create the object. Returns Cannot create the windows script OCX object: MSScriptControl.ScriptControl I am guessing that it is the createobject that I am using for IE to open. What have you used or do you think it is something else that I am missing? I have looked at permissions and security which appear to be fine. Other users are working just fine. This is on a windows 7 32bit. Thanks


  • 2.  RE: What code do you use when opening web browser to p

    Posted 09-09-2011 09:04
    Are the other machines it's working on also Windows 7?


  • 3.  RE: What code do you use when opening web browser to p

    Posted 09-09-2011 09:33
    Yes there is another windows 7 machine and I believe the script works there. I will check.


  • 4.  RE: What code do you use when opening web browser to p

    Posted 09-09-2011 13:23
    I don't do much with scripting, but my co-worker recommended this - ""I would just run this as a shell command. Internet Explorer accepts a Url as an argument on the command line."" Don't know if that helps?