CodeItBetter Programming Another VB Programming Blog

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

Posted on January 4, 2009
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

Related posts:

  1. How to get the command line arguments using the Command() function?
  2. How to accept any number of arguments in a function
  3. How to add a command line argument quickly through the IDE?
  4. How to click a command button on other form
  5. How to Add a command to Autoexec.bat
  6. How to load a picture in command button
  7. How to Read Line By Line & Retrieve Each Word From Text File
  8. How to open and close the CD ROM door once a command button is pressed
  9. How to Load ComboBox and ListBox controls from a database using ADO
  10. How to set the Command Button’s caption color

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


No trackbacks yet.