When in your console application code you do "exit([my code here])" that's the exit code of your program returned to the calling process - in your case, the OS (batch file, etc.). For more info please see any C/C++ handbook or system-programming manual. : I'm having the same difficulty. : I'm writing a console application that requires : the application to return a value to the calling : program - in this case, the OS (batch file, etc.) : I've been searching the web and some VB books : for a few days now and I : can't find any information on how to do this. : If anyone comes across anything, please post : or email me directly. : Oh, and by the way, Mr. C, I AM a professional, : senior developer. Just because someone doesn't know : how to do something isn't an excuse to get snotty.
|