CodeItBetter Programming Another VB Programming Blog

How to set your app to take command line arguments easy?

Posted on July 23, 2011
1
2
3
4
5
6
7
8
9
10
11
'System & API - How to set your app to take command line arguments easy?
'In the form load Command$ will contain any args passed in so set up a global variable

Dim DATA As String
 
Private Sub Form_Load()
    DATA = Command$
End Sub
 
'Data should have your info in it passed in like this:
'MyApp.Exe DATA_FROM_OTHER_APP
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


 

No trackbacks yet.