User Profile

Collapse

Profile Sidebar

Collapse
ravioliman
ravioliman
Last Activity: Sep 3 '08, 08:12 PM
Joined: Jul 12 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • ravioliman
    replied to Execute VBScript Subroutine from php
    in PHP
    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....
    See more | Go to post

    Leave a comment:


  • ravioliman
    replied to Execute VBScript Subroutine from php
    in PHP
    Thanks for replying...

    When I put quotes around the vbs subroutine
    Code:
    if ($id == 8) { 
      $scripter = new COM("MSScriptControl.ScriptControl");
      $scripter->Language = "vbscript";
      $k = $scripter->eval("UnBusyInvoice()");
      print "Result: $k\n";
      $scripter = null;
    }
    I got a nasty message:

    Fatal...
    See more | Go to post

    Leave a comment:


  • ravioliman
    started a topic Execute VBScript Subroutine from php
    in PHP

    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:
    ...
    See more | Go to post
    Last edited by Atli; Aug 28 '08, 09:57 PM. Reason: Added [code] tags.

  • ravioliman
    replied to Pass Data to Automation Server
    Figrued out that I have to add .value to getElementById to get the actual value!...
    See more | Go to post

    Leave a comment:


  • ravioliman
    started a topic Pass Data to Automation Server

    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...
    See more | Go to post
No activity results to display
Show More
Working...