I got two application. Application A is a menu program which calls the application B by using shell command. Application B is a standard vb.exe file.
My question is how can I return an integer value from application B to A when program B ends itself? Application B should return different integer values depending upon performed tasks.
Here is an example in C or C++
void main()
{
/* perform some tasks
return 0;
}
0 is returned to the operating system or calling program.
Is there a way to apply this functionality in visual basic?
