Results 1 to 2 of 2

Thread: How do I pass command line parameters to my vb app

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2000
    Location
    South Africa
    Posts
    76
    If I compile an exe what do I do to pass parameteres to my exe. eg. mylittleapp.exe param1 param2 etc. or something like that.


    thanks
    =)

  2. #2
    Guest
    If, for example, you run your program like this:
    MyApp.exe Parameter1 Parameter2

    Then you can access your parameters like this:
    Code:
    strParam = Command
    strParam will contain "Parameter1 Parameter2"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width