2

I have txt file with some code in it. How to compile it to working exe? I tried Microsoft.VisualBasic.VBCodeProvider.CompilerAssemblyFromFile but it generates dll file

ElektroStudios
  • 19,105
  • 33
  • 200
  • 417
Vlad
  • 119
  • 1
  • 9

1 Answers1

0

Use VBC.exe http://msdn.microsoft.com/en-us/library/380cz5k4.aspx

If you need to do this from inside a program you may need to create a process and give it some arguments or use the Shell Function.

Jason Hughes
  • 748
  • 6
  • 18