WScript and VBScript

G

Guest

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
 
W

Willy Denoyette [MVP]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top