Results 1 to 3 of 3

Thread: passing arguments from VB to C++

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2001
    Location
    Malaysia
    Posts
    1

    Unhappy passing arguments from VB to C++

    I'm a new VB user...I'm quite new in C++ too

    Here's my problem. I have a program in VB and I need to pass the value from that VB program to a C++ Program. How do I go about doing this?...

    Please help Me...!!!...

    thanx

  2. #2
    The first way that comes to mind is to pass command line arguments such as:
    VB Code:
    1. Shell "mycppexe.exe someargument", vbNormalFocus
    In your C++ program then read the arguments passed to your program and take appropriate actions.

  3. #3
    jim mcnamara
    Guest
    What Filburt posted is pretty much the main option.

    Could you give us a little more infromation, details?

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