Solved

Return value from vb exe

Posted on 2003-11-18
6
601 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.

710 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