RUNWIN and Minimized Windows (OpenInsight 32-Bit)
At 21 DEC 2003 09:54:22PM Donald Wakefield wrote:
Under Win2000 and OI 4.03, I have tried to run the Utility function with RUNWIN so as to run a program in minimized form and modally:
void=utility('RUNWIN','progname.bat',-6)
"6" for minimized, and "-" for modally.
The program "progname.bat" runs minimized, but not modally.
At 21 DEC 2003 11:30PM Donald Bakke wrote:
Is this the same post found here? Were you not satisfied with the responses?
At 04 JAN 2004 09:42PM Donald Wakefield wrote:
Dear Don,
No, I was not satisfied with the responses. Does "RUNWIN" not work with a -6 for minimized modal?
We are running a FORTRAN 2000 program which takes an input file from OI and OI must wait for it's results before it can continue!
Don Wakefield and Steve Epstein
At 04 JAN 2004 11:42PM Donald Bakke wrote:
Don/Steve,
I'm not sure how to run FORTRAN 2000 programs. However, I have been able to get RUNWIN with the -6 parameter to work. Here is the test code I was using:
Declare function Utility rv=Utility("RUNWIN", "CMD.EXE", -6) Call Msg(@Window, "The test is over") RETURN 0The message box wouldn't appear until I closed the command window. I have also used "NOTEPAD.EXE" as the application to launch with the same success.