I have 2 vb.net applications (App1 & App2). What I'm trying to do here is have App1 call App2 via shell command, and have App2 return some results back to App1 after App2 is finished running. How do I do that?
You can return an Exit Code(integer) to windows and create and launch it from a Process then watch for that code, but that really isn't the proper way to handle it. It is much better to write the results back into some type of log file, database, or something of that nature and have it watch that way. Really the thing you need to ask does it really need to be two apps or just act like two apps? Off/on I work on a program that I've been making that is a Picture Viewer/Explorer. It is actually one app, but the user sees it as two.
-I hate Microsoft!
-Forever and always forward.
-My kingdom for a edit button!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.