Results 1 to 3 of 3

Thread: Calling a vb exe with Parameters

  1. #1
    Guest

    Calling a vb exe with Parameters

    Currently have a vb App that loads data into Excel. Is called from a Universe Environment using SB+. Is it possible to call the vb app and pass it a DOS filename..

    sort of like

    Execute "c:\Excel\vb.exe c:\filename.csv"

    What would be the format.

    Thanks in Advance

  2. #2
    Lively Member
    Join Date
    May 1999
    Location
    India
    Posts
    97

    Cool CommandLine Parameters

    Sure mate...
    Very possible.. from what i understand you want to pass commandline parameters to a VB program.. well for test n learning purposes open up your project properties.. u'll get to see a text box for commandline parameters under the "Make" tab. Fill in your parameters here..

    then in code access them using the Command Function That should solve your problem!

    Ex:
    'Get command line arguments.
    CmdLine = Command()


    Cheers
    Gaurav

    [email protected]
    " Programming today is a race between software-engineers striving to build bigger and
    better idiot-proof programs and the universe trying to produce bigger and better idiots.
    So far the universe is winning".
    :-)

  3. #3
    Guest

    Wink Thanks Gaurav

    Will try it out once l can get this friggin laptop to boot.......

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