467,161 Members | 900 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,161 developers. It's quick & easy.

VB passing variable to C++

Hi to Everyone,

This is my first time posting. Hopefully I'm doing this right.

I need to write a SYSTEM call to launch an exe program that is written on C++ and also pass variable (actually a ComboBox1.Text, ComboBox2.Text) to the c++ application. The c++ will use the data to do some calculation. Any help would be really appreciated. If possible I need some answer soon as possible.

Nov 21 '06 #1
  • viewed: 907
2 Replies

Write the C++ program to work with the arguments.
From the visual basic launch the c++ program by passing the ComboBox1.text and ComboBox2.txt.as argument to the c++ executable program.

Nov 21 '06 #2
Expert 8TB
Would it be enough to pass the arguments on the command line? This is probably simpler to implement.
Nov 21 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

6 posts views Thread by Scott Zabolotzky | last post: by
11 posts views Thread by John Pass | last post: by
6 posts views Thread by MSDNAndi | last post: by
12 posts views Thread by Andrew Bullock | last post: by
11 posts views Thread by =?Utf-8?B?U3VqZWV0?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.