Solved

Return value from vb exe

Posted on 2003-11-18
6
597 Views
Last Modified: 2008-03-17
How can we return a value from a Vb exe
as we have only unload me or end to close an application

As we do in a simple c code
int main()
{
if (param1 == 1)
    return 2 ;
return 1;
}
0
Comment
Question by:sreevani_ms
  • 2
6 Comments
 
LVL 48

Accepted Solution

by:
AlexFM earned 50 total points
ID: 9776587
0
 
LVL 9

Expert Comment

by:bhagyesht
ID: 9776733
1. you can write to a text file and read the output (prefered if integrating with ERP systems)
2. use ExitProcess API (prefered thro batch files)
0
 
LVL 48

Expert Comment

by:AlexFM
ID: 10319518
I think my answer is OK.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will show, step by step, how to integrate R code into a R Sweave document
A short article about a problem I had getting the GPS LocationListener working.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question