Command line arguments? 
Author Message
 Command line arguments?

I am using VB4-32 and would like to have my app use command line arguments.
 (ie. myapp.exe arg1 arg2 ...)  Is this possible in VB4-32?  

Thanks,

Rick



Tue, 15 Feb 2000 03:00:00 GMT  
 Command line arguments?

Quote:

> I am using VB4-32 and would like to have my app use command line arguments.
>  (ie. myapp.exe arg1 arg2 ...)  Is this possible in VB4-32?

Lookup the Command$() function - it returns the command line parameters
within your VB app.

Cheers,

Dan

--
Dan Carey -  Software Development Section    http://www.emb.co.uk

English Matthews Brockman - Actuarial Consultants, Epsom, England
-----------------------------------------------------------------
                         Real Programmers do it in Loops
-----------------------------------------------------------------



Tue, 15 Feb 2000 03:00:00 GMT  
 Command line arguments?

Command Function Example

This example uses the Command function to display the command line
arguments.  

Dim Msg ' Declare variable.
If Command = "" Then  ' If no command line.
        Msg = "There is currently no command-line string."
Else    ' Put command line into message.
        Msg = "The command-line string is: '" & Command & "'"
End If
MsgBox Msg      ' Display message.

Quote:

> I am using VB4-32 and would like to have my app use command line arguments.
>  (ie. myapp.exe arg1 arg2 ...)  Is this possible in VB4-32?

> Thanks,

> Rick



Sat, 19 Feb 2000 03:00:00 GMT  
 Command line arguments?

Command Function Example

This example uses the Command function to display the command line
arguments.  

Dim Msg ' Declare variable.
If Command = "" Then  ' If no command line.
        Msg = "There is currently no command-line string."
Else    ' Put command line into message.
        Msg = "The command-line string is: '" & Command & "'"
End If
MsgBox Msg      ' Display message.

Quote:

> I am using VB4-32 and would like to have my app use command line arguments.
>  (ie. myapp.exe arg1 arg2 ...)  Is this possible in VB4-32?

> Thanks,

> Rick



Sat, 19 Feb 2000 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Command-Line arguments using Command()

2. "/decompile" command line argument

3. command line arguments for project files

4. Command Line arguments for Project

5. Project_Open and command Line arguments in MSP2k

6. Command Line Arguments

7. command line arguments

8. command line arguments

9. Command line argument

10. How to get Command Line argument?

11. VB Console App Command Line Arguments

12. Command Line arguments and Scheduling

 

 
Powered by phpBB® Forum Software