Connect with Expertise | Find Experts, Get Answers, Share Insights

WScript and VBScript

Daniele
 
Posts: n/a
#1: Nov 16 '05
How is it possible to call the WScript object? I haven't found it in any
namespace... is it only for VBScript? If yes, is it possible to launch a .vbs
programmatically from c#?

Thanks,
Daniele

Willy Denoyette [MVP]
 
Posts: n/a
#2: Nov 16 '05

re: WScript and VBScript


Not sure calling wscript component works, but you can use Process.Start to
run the script engine (script.exe or wscript.exe) and pass your script as
argument.

Willy.

"Daniele" <Daniele@discussions.microsoft.com> wrote in message
news:17B8ABCA-AA6A-4BFB-BD7F-64127DDFE1A4@microsoft.com...[color=blue]
> How is it possible to call the WScript object? I haven't found it in any
> namespace... is it only for VBScript? If yes, is it possible to launch a
> .vbs
> programmatically from c#?
>
> Thanks,
> Daniele[/color]


Closed Thread