Code Question (OpenInsight Specific)
At 14 DEC 2000 02:55:17PM b cameron wrote:
In converting a AREV program to OI.
The statement
PERFORM 'SUSPEND EXIT ATTRIB +R ':filenameThe best way would be to… ????
At 14 DEC 2000 04:08PM Joe Doscher wrote:
b cameron
Use the UTILITIES SERVICE
RUNWIN Passes as a command line string to WinExec function.
Parameter Description
(Optional.) An @FM-delimited array:Value Description
Mode to be passed to Windows WinExec function. If Value is a negative number, then RUNWIN will work as a "modal" call (it will block all OpenInsight for Workgroups forms and will not return control to the caller until the calling application is completed). returnvalue is then an application exit code.Name of callback function to be called when an activated now application is terminated.Parameter to be passed to the callback function.returnvalue An @FM-delimited array:
Value Description
Full path to the calling application.Instance handle.Module handle.Task handle.So, try
x=Utility('RUNWIN', 'ATTRIB….', -1)
Hope this helps
JoeD
At 15 DEC 2000 12:25AM b cameron wrote:
Thanks,
I actually had that, took it out of my orig. question but did not try it with the -1.
Thanks again.