How do I get back results running a VB Script from C#?

Posted by Tom on Stack Overflow See other posts from Stack Overflow or by Tom
Published on 2010-05-21T23:07:48Z Indexed on 2010/05/21 23:10 UTC
Read the original article Hit count: 117

Filed under:
|
|

I want to be able to call VB scripts from C#, which is easy enough, but I need to be able to get back the results from these scripts at times. Should I use the method referenced with something to read back, or should I use a different method? I've found a method to getting data back from powershell scripts using Runspaces and Pipelines, but I don't know enough about this technology to know if it will work with VB scripts as well. Ideally, I'd like to do something similar to the powershell method where I can just pass in the contents of the script without needing to reference an external file and get back the results. Can anyone tell me how to do this? Thanks.

© Stack Overflow or respective owner

Related posts about c#

Related posts about vbscript