Link to home
Start Free TrialLog in
Avatar of schneidd
schneidd

asked on

VB Program return Code

Is there a way to let a VB program return a result code on exit?

I need this for cooperation with Plus! system Agent which want's that programs give a return code on exit.
Avatar of Pechatnikov Michael
Pechatnikov Michael

Hello !
I think that,
In Visual Basic You Have app object and it have all properties
of your application.

You have only one way to terminate your application, it`s End & Stop Statements and it`s cann`t return any value (Like in C++ for example)


I suggest you to look in Help about 'app' object and all it`s properties.
I`m sorry, I`m now in other computer so I haven`t visual Basic here and can`t to check it myself.

I know how to do it.  Email me when the question is no longer locked.
Avatar of schneidd

ASKER

Hey vbstone,

would like to e-mail to you, but couldn't find your e-mail adress here. (This is my first attemt to use Exp.Exchng., so maybe i do something wrong) Please e-mail me the solution to schneidd@silyn.net

thanks
My Email ls Msoft@netmedia.net.il
Thanks,
            Pechatnikov Michael

ASKER CERTIFIED SOLUTION
Avatar of vbstone
vbstone

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial