Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is it possible to return a value from VB Application to Shell?/.

Status
Not open for further replies.

haiprakash

Programmer
May 31, 2003
3
IN
Dear friends..

I am prakash from India. i am developing an application program. I make it as exe program. Now i invoke it from Command prompt. (c:\application.exe). After completion, that application should return a value. How can i do it in visual basic6?..

please help me

yours
prakash
 
You should terminate your program using ExitProcess API function instead of Unload or End statement.
ExitProcess accepts an exit code which is returned by the application after termination.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top