Visual Basic Language Concepts  

Invoking the Command-Line Compiler

You can invoke the command-line compiler by typing the name of its executable file at the command line, also known as the MS-DOS prompt.

To invoke the compiler

You may need to adjust your path if you want to invoke the compiler from a specific subdirectory on your computer. For example, if you stored your executables in a directory called "SourceFiles", you would open the command prompt, type "cd SourceFiles" to change to that directory, and then type vbc.exe.

See Also

Visual Basic Compiler Options | Conditional Compilation Overview