ShellExecuting a console app

Kristopher used Ask the Experts™
I want to use ShellExecute to run a console app (one made in C++), however, the console app closes right away. Is there a way I can have it show a "Press a key to continue . . . " message (a la VC++ IDE)?

This has to be done through VB. It's not something I can tack onto the ending of the C++ program.

Thanks for your time.
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
wrap your console app call in a batch file with a pause on  the end, then call that batch file.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial