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
Asked
Active
Viewed 450 times
2

ElektroStudios
- 19,105
- 33
- 200
- 417

Vlad
- 119
- 1
- 9
-
May be easier to compile with regular compiler from command line (vbc.exe, available on any machine with .Net Framework). – Alexei Levenkov Oct 20 '13 at 07:13
-
possible duplicate of [Create an .EXE from an .EXE](http://stackoverflow.com/questions/19463073/create-an-exe-from-an-exe) – ElektroStudios Oct 20 '13 at 08:05
1 Answers
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