Inserting and Removing Line Numbers from Command Line
By using CodeSMART it is possible to insert and remove line numbers from the command line. A special tool called CsCmdLine is used for this purpose in conjunction with a switch parameter set.
CsCmdLine command line syntax
The syntax of a CsCmdLine call is:
CsCmdLine VbExe=<vb6.exe path and file>, VBProject=<project path and file>, OpSwitch=<CodeSMART operation switch>[, Hidden=<True/False>]
Each command line switch is explained below:
-
VBExe - should be followed by the "vb6.exe" full path and name string.
-
VBProject - should be followed by the project (where the line numbers must be inserted/removed) full path and name string.
-
OpSwitch - should have one of the following values:
-
/lni - for inserting line numbers
-
/lnr - for removing line numbers
-
Hidden - should specify whether vb6.exe execution should be in hidden mode. The switch is optional and its default value is False.
Notes
-
The following switches can be used for obtaining information about the CsCmdLine usage: /?, /h, /help
-
The arguments order can be modified. No casing rule is imposed.
See also
Back To Top
|