Thanks for your reply. I can execute the vbs subroutine all day long using a form element such as a button's onClick or onKeyDown event. Just don't know what to put in the Link area of the menu to execute vbs subroutine?
Thanks much again....
User Profile
Collapse
-
Thanks for replying...
When I put quotes around the vbs subroutine
I got a nasty message:Code:if ($id == 8) { $scripter = new COM("MSScriptControl.ScriptControl"); $scripter->Language = "vbscript"; $k = $scripter->eval("UnBusyInvoice()"); print "Result: $k\n"; $scripter = null; }
Fatal...Leave a comment:
-
Execute VBScript Subroutine from php
How do I execute a vbs subroutine from php. I found this on the web and is in my php code:
[code=php]
$scripter = new COM("MSScriptCo ntrol.ScriptCon trol");
$scripter->Language = "vbscript";
$k = $scripter->eval(UnBusyInv oice()); <<--my subroution
print "Result: $k\n";
$scripter = null;
[/code]
If fails as follows:
...Code:Fatal error:
-
Figrued out that I have to add .value to getElementById to get the actual value!...Leave a comment:
-
Pass Data to Automation Server
I have written a Delphi single threaded, out-of-process (exe) automation server that I want to execute methods from a HTML page.
A. I have been able to launch the server with the following code:
[HTML]<OBJECT id=DisplaySrv type="applicati on/x-oleobject" height=0 width=0
classid="clsid: 55516EF3-C938-468B-A0AF-29717D15009F">
</OBJECT>[/HTML]
B. This is how...
No activity results to display
Show More
Leave a comment: