How to pass and get parameter from command line in VB

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Phu Van Le (ple_at_link.com.au)
Date: 05/20/04

  • Next message: Pásztor, Zoltán: "Re: How to pass and get parameter from command line in VB"
    Date: Thu, 20 May 2004 12:46:07 +1000
    
    

    Hi,

    I just a beginner in VB. I write a simple application in VB and make it as
    an executable .EXE file. When I run it from command line in DOS, I need to
    pass some parameter to it. But I don't know how to code in VB to get this
    parameter. Can someone help? Thanks.

    Regards,

    Phu


  • Next message: Pásztor, Zoltán: "Re: How to pass and get parameter from command line in VB"

    Relevant Pages

    • Re: viewing and deleting hacker created dirs
      ... I'd try installing a shell such as cygwin and use the 'ls' command from ... I assume you've checked that the folder isn't simply marked as hidden or as ... Agustin Chernitsky wrote: ... I can't see the .exe file also... ...
      (microsoft.public.win2000.security)
    • Re: can not run regedit
      ... >>Command is not an exe file. ... >>>>Can't run applications ... >>> file name is the virus, the virus has set itself to ...
      (microsoft.public.windowsxp.perform_maintain)
    • Re: Invalid MEX-file error while converting .m file to .exe
      ... I want to convert .m file to .exe file,the .exe file has ... from the help programs ... selected to get the mcc command working for converting .m ...
      (comp.soft-sys.matlab)
    • Re: can not run regedit
      ... Command is a com file therefore anything you did to exe files wouldn't affect command.com. ... >>Command is not an exe file. ... >>>>Can't run applications ... >>> file name is the virus, the virus has set itself to ...
      (microsoft.public.windowsxp.perform_maintain)
    • MSComm control problem in single document based exe file
      ... I've got a question in MSComm control in single-document based exe file. ... wrote a single-document based procdure in VC6, in whitch a command was sent ... VC6 installed, otherwise, it receives. ...
      (microsoft.public.vc.mfc)