Reply to thread

i'm using HTML to wirte some code in HTML, there is a form, inside a form there's a textbox (called MSISDN) must be filled, after submit, HTML page must pass the MSISDN value to eternal vb script, i defined object to run the vbs file called oshell, and executed the below:


oshell.run "script.vbs MSISDN"


and in the vbs file i wrote a code to read the variable as below:


Set ObjArgs = WScript.Arguments

Set object = GetObject(ObjArgs(1))

MsgBox object


Nothing happend !!!!


may be this is a wrong way to pass variable, simply my question is: What is the correct way to pass a variable from HTML page to External VBScript ????


Back
Top