Home > How-To Library > System & API

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

**************************************************************** * © 2007 CodeItBetter http://www.codeitbetter.com * * This notice MUST stay intact for legal use * ****************************************************************
'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

If you would like to submit your code here please us. Do not forget to mention your name. We are always thankful to each and everyone of you who submitted their code here.