MPD78
07-22-2010, 02:32 PM
Hello all,
I designed a simple gui interface using VBA on a Windows XP machine that will launch via shellexecute old FORTRAN console app programs. The problem I have is that when all of the input is completed the calculation is performed the program closes. This is analogous to what happens when a C++ console app doesn't have a keep_window_open() function that basically just asks for a simple input to end the program.
The FORTRAN programs work correctly when the .exe is double clicked or the program is called from inside the command window.
Does anyone know of a remedy for this?
Thanks
Matt
I designed a simple gui interface using VBA on a Windows XP machine that will launch via shellexecute old FORTRAN console app programs. The problem I have is that when all of the input is completed the calculation is performed the program closes. This is analogous to what happens when a C++ console app doesn't have a keep_window_open() function that basically just asks for a simple input to end the program.
The FORTRAN programs work correctly when the .exe is double clicked or the program is called from inside the command window.
Does anyone know of a remedy for this?
Thanks
Matt