Any Parameters passed to your VB EXE can be accessed via the Command Function, eg.
Compile the EXE and run with a Command Line..Code:Private Sub Form_Load() If Len(Command) Then MsgBox "You Passed the Following Command Line: " & Command Else MsgBox "You Didn't Pass any Command Line Parameters." End If End Sub
Project1.exe Hello There
Will result in a Dialog saying "You Passed the Following Command Line: Hello There"
------------------
Aaron Young
Analyst Programmer
[email protected]
[email protected]
[This message has been edited by Aaron Young (edited 12-04-1999).]




Reply With Quote