Changes

File System + File I/O in VB6

571 bytes added, 21:59, 7 February 2008
/* Other File System Methods */
The following lines were added (+) and removed (-):
The above includes an optional command line parameter.  The program being launched, in this example, checks for that command line parameter.  It uses the reserved constant "Command". Private Function CheckLauncherParamter()  If InStr(LCase(Command), "/verified") > 0 Then    CheckLauncherParamter = True    blnDebug = False    mnuFileExit.Enabled = False  ElseIf InStr(LCase(Command), "/debug") > 0 Then    CheckLauncherParamter = True    blnDebug = True    mnuFileExit.Enabled = True  Else    CheckLauncherParamter = False  End If End Function
Bureaucrat, administrator
16,228
edits