Solved

Return value from vb exe

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
strDist challenge 35 103
Controlled Assessment GCSE - desperate help needed 4 84
SUM 2 INTEGER ARRAYS INTO 1 10 99
Path to Python 9 118
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
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…

815 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

8 Experts available now in Live!

Get 1:1 Help Now