title: How can I execute VBScript in C#
body: <p>We have a legacy system that allow customer to custmize the workflow by vbscript, for example, the user could write some code like</p>
  
  <pre><code>for each account in accounts {
     Dim acc as Integer
     .....
  }
  </code></pre>
  
  <p>the code inside the {...} is VBScript. and the legacy system is writtern by VB, and use ScriptControl to execute the script directly.
  Now we are going to upgrade the system to C# .NET 4.5, we want to get rid of the old scriptcontrol but want to keep the scripts from users.</p>
  
  <p>My question is it possible to execute vb script from C#? </p>
  
  <p>Thanks</p>