In your form load event you can do something like this:
Private Sub Form_Load()
If Command = "Test" Then
MsgBox "OK"
End If
End Sub
Then compile the application and call it WhatEver. Then go to run type c:\Folder\Whatever.exe Test
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.