Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Return value from vb exe

Posted on 2003-11-18
Medium Priority
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;
Question by:sreevani_ms
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
LVL 48

Accepted Solution

AlexFM earned 200 total points
ID: 9776587

Expert Comment

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)
LVL 48

Expert Comment

ID: 10319518
I think my answer is OK.

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

A short article about problems I had with the new location API and permissions in Marshmallow
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Introduction to Processes

670 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