Can a VB program return a value to the operating system upon completion?
Here is my problem:
I'm writing some macros for a CAD program that I use and I could really use the standard open file dialog box. The macro language is rather outdated and contains no such functionality, but it will allow me to call an external .exe and use its return value. I'd like to write a simple VB program to show the file open dialog box and return the value to the calling program.
I'm aware that c/c++ can return a value, but I only know enough c++ to be dangerous (I'd much rather use VB if possible).
Here is my problem:
I'm writing some macros for a CAD program that I use and I could really use the standard open file dialog box. The macro language is rather outdated and contains no such functionality, but it will allow me to call an external .exe and use its return value. I'd like to write a simple VB program to show the file open dialog box and return the value to the calling program.
I'm aware that c/c++ can return a value, but I only know enough c++ to be dangerous (I'd much rather use VB if possible).