Solved

Return value from vb exe

Posted on 2003-11-18
6
590 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Exchange and Third Party application. 8 68
Fibonacci challenge 11 110
stringclean challenge 26 70
Looking for example pivot year code used in Y2K 4 61
Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now