General discussion
April 5, 2002 at 01:34 AM
rutsogn

Call app from VB and get results

by rutsogn . Updated 24 years, 5 months ago

Hi, I have a C++ command line app which when executed returns an integer value. I am trying to run this app from VB and display the return value and thought I could do something like:
retval = Shell(“C:\test\dssLEN.exe”, 1)
but it just returns a program id. Is there a way to get the integer value returned from the application?
Thanks,
Ron Utsogn

This discussion is locked

All Comments