Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the Command Line options for the VB6 IDE (Compiler)

Tags:

vb6

I'm doing batch compiling and need to specify the output directory.

like image 229
Clay Nichols Avatar asked Aug 09 '10 21:08

Clay Nichols


People also ask

What is Visual Basic command line compiler?

The Visual Basic command-line compiler provides an alternative to compiling programs from within the Visual Studio integrated development environment (IDE). This section contains descriptions for the Visual Basic compiler options. Every compiler option is available in two forms: -option and /option .

How do I run a VB code in terminal?

To invoke the compiler using the Windows Command Prompt From the Start menu, click on the Accessories folder, and then open the Windows Command Prompt. At the command line, type vbc.exe sourceFileName and then press ENTER.


1 Answers

/run

/runexit - Compile and then run it. Exit VB IDE when project returns to design mode.

/make or /m projectname - compiles an makes exe using the existing settings in proj file

/out filename

/outdir path Specifies a directory path to place all output files in when using /make

/d

/cmd

/mdi or /sdi

... and a couple of others.

Run vb6.exe /? for more information.

like image 89
Clay Nichols Avatar answered Sep 28 '22 14:09

Clay Nichols