By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,986 Members | 1,487 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,986 IT Pros & Developers. It's quick & easy.

VB passing variable to C++

P: 1
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
Share this Question
Share on Google+
2 Replies

P: 142

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

Nov 21 '06 #2

Expert 5K+
P: 8,434
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.