You have 2 options:
1. Run vbscript as standalone process - VB.Net has Shell() function. Execute
cscript.exe "C:\Path\FileName.vbs"
2. Host vbscript inside your application - the easest way is to use
Microsoft Script Control.
As another option you may let users write VB.Net code. In your application
you will need to compile and run it.
//------------------------------------
Regards,
Vassiliev V. V.
http://www-sharp.com -
Scripting/HTA/.Net Framework IDE
"DraguVaso" <pi**********@hotmail.com> сообщил/сообщила в новостях
следующее: news:%2******************@tk2msftngp13.phx.gbl...
Hi,
I want to run some vbscripts from a VB.NET application. Anybody knows how
to do this?
Thanks,
Pieter