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