Q

Executing VBScript inside a C# program

I would like to execute some VBScript inside my C# program. Can you create the VB script shell and then run script code against it? Any examples would be helpful.
Yes, you can use VSA (Visual Basic for Applications) to execute scripts inside a .NET application. Here are two previously published articles on this topic; both are excellent sources for getting your feet wet with VSA:
Script Happens .NET by Andrew Clinick
Scripting and .NET by Chris Sells
This was first published in October 2004

Dig deeper on C# programming language

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchCloudComputing

SearchSoftwareQuality

SearchSOA

TheServerSide

SearchCloudApplications

Close