ipesin
asked on
Using HOST command in Oracle Forms
Are there any parameters I can use to supress pop-up HOST window when I call
HOST('copy file1, file2) from Oracle forms, or do it at the backend so it will be invisable for users.
Also, what is the handle condition to check status on HOST command
HOST('copy file1, file2) from Oracle forms, or do it at the backend so it will be invisable for users.
Also, what is the handle condition to check status on HOST command
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
2)There is FORM_SUCCESS built-in there:
· On Microsoft Windows NT, when using HOST to execute a 16-bit application, the FORM_SUCCESS built-in will return TRUE whether the application succeeds or fails. This is a Microsoft Win32 issue. 32-bit applications and OS commands will correctly return TRUE if executed sucessfully and FALSE if failed. Invalid commands will return FALSE.
· On Windows 95 platforms the FORM_SUCCESS built-in will always return TRUE for HOST commands which fail. This includes calls to command.com or OS functions, any 16-bit DOS or GUI application, or an invalid command. 32-bit applications will correctly return TRUE if executed sucessfully and FALSE if failed.
More you can read in the on-line help "HOST built-in" topic.