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

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.

Please create a username to comment.