Results 1 to 2 of 2

Thread: Passing multiple arguments (3 actually) from vbscript to a VB6 form

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2005
    Posts
    8

    Passing multiple arguments (3 actually) from vbscript to a VB6 form

    I need to call a basic vb6 .exe and pass it 3 arguments in order to process it inside the executable.

    What would be the easiest way to do this?

    The only thing my .exe contains is the InternetSetCookie function and I would like to provide it's arguments from a logon script I created in vbscript.

    Can anyone help?

  2. #2
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: Passing multiple arguments (3 actually) from vbscript to a VB6 form

    In VB6 there is a function Command() - it returns command line arguments.
    So, if you shell your exe with some arguments you can then parse them in your executable.
    Search forum for samples (there are many out there).

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