We can use HOST command from Forms to call a OS command.
START (OS Command) can be used as part of the command to open a new window for the new program gettting invoked.
HOST ('Start notepad');
Under Windows 2000, the above command opens a new windows for notepad and the control comes back to the calling form and the execution continues.
HOST ('Start /wait notepad');
The above command should open notepad and wait till it is closed. Only then control should come back to the calling form.
BUT IT DOES NOT BEHAVE SO.
ANYONE KNOWS WHY ????
Thanks in advance.
Click Here to Expand Forum to Full Width