- Contents in this wiki are for entertainment purposes only
VB6 Command Line Help
Jump to navigation
Jump to search
VB6 Command Line Options
VB6[.EXE] [[{/run | /r}] | [/runexit] | [{/make | /m} projectname] [/out filename] [/outdir path] [/d const=value[:constN=valueN]] [/mdi | /sdi] [/cmd argument | /c argument]]
Options
- /run or /r projectname
- Tells Visual Basic to compile projectname and run it, using the arguments stored in the Command Line Arguments field of the Make tab of the Project Properties dialog box.
- /runexit projectname
- Tells Visual Basic to compile projectname and run it. Visual Basic will exit when the project returns to design mode.
- /make or /m projectname
- Tells Visual Basic to compile projectname and make an executable file from it, using the existing settings stored in the project file.
- /out filename
- Specifies a file to receive errors when you build using /m or /runexit. If you do not use /out, command line build errors are displayed in a message box.
- /outdir path
- Specifies a directory path to place all output files in when using /make.
- /d or /D const=value...
- Tells Visual Basic which values to use for conditional compilation constants when making an .EXE or ActiveX component with the /make switch. Separate multiple constants with colons.
- /cmd or /c argument
- Puts argument in the Command Line Arguments field in the Make tab of the Project Properties dialog box. When used, this must be the last switch on the command line.
- /mdi or /sdi
- Changes the Visual Basic environment to either Single Document Interface (SDI) or Multiple Document Interface (MDI) mode. Visual Basic remains in this mode until you change it.
You may use a group name in place of projectname in any of the above switches.