Home > Archive > VBScript > September 2004 > Asynchronous call in Vbscript
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Asynchronous call in Vbscript
|
|
| Raghunandan Satyanarayan 2004-09-29, 8:03 pm |
| hi,
Can someone help me with this. I want to run the calls to methods in a
Vbscript file Asynchronously.
Example:
<SCRIPT Src="VBSFiles/Test.vbs" Language=VBScript></SCRIPT>
<SCRIPT Language=VBScript>
Call Testing
Sub Testing
call method1 (param1, param2) 'method in Test.vbs file
call method2 (param1) 'method in Test.vbs file
'**I want these two above methods to run in parallel**
end sub
</SCRIPT>
Regards & Thanks
Raghu
| |
| McKirahan 2004-09-29, 8:03 pm |
| "Raghunandan Satyanarayan"
<RaghunandanSatyanarayan@discussions.microsoft.com> wrote in message
news:BCF9B3D7-CB1D-4AF6-9C02-00E482A6503A@microsoft.com...
> hi,
>
> Can someone help me with this. I want to run the calls to methods in a
> Vbscript file Asynchronously.
> Example:
>
> <SCRIPT Src="VBSFiles/Test.vbs" Language=VBScript></SCRIPT>
>
> <SCRIPT Language=VBScript>
> Call Testing
>
> Sub Testing
> call method1 (param1, param2) 'method in Test.vbs file
> call method2 (param1) 'method in Test.vbs file
> '**I want these two above methods to run in parallel**
> end sub
>
> </SCRIPT>
>
> Regards & Thanks
> Raghu
>
I believe you'd have to run two instances of WScript.exe.
|
|
|
|
|