Problem solve Get help with specific problems with your technologies, process and projects.

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 last 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.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.