DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Parameterse

  1. #1
    Join Date
    Aug 2004
    Posts
    43,023

    Parameterse

    [Originally posted by Natasha]

    I need help
    Can you please tell me how can I run my VB program from the DOS prompt with a given set of parameters?
    Thanks

  2. #2
    Join Date
    Aug 2004
    Posts
    43,023

    Re:Parameterse

    [Originally posted by Jim]

    You need to remove all of the forms and create a sub Main() and set startup to sub main. Any command line arguments will be put into a variable called command$. You will then need to parse the string because all of the arguments are placed into that single variable.

  3. #3
    Join Date
    Aug 2004
    Posts
    43,023

    Re:Re:Parameterse

    [Originally posted by Natasha]

    Thanks Jim, I'll try it

  4. #4
    Join Date
    Aug 2004
    Posts
    43,023

    Re:Parameterse

    [Originally posted by Bashkim Abdyli]

    Just write the EXE name and then the parametres...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center