Exit code to windows [message #182764] |
Tue, 18 July 2006 02:10  |
cyber
Messages: 2 Registered: July 2006
|
Junior Member |
|
|
Hi all...I've search over the net, for a solution to this problem...but without success.
I need to open a Forms application from an HTML page and get a custom exit code from this application in order to use it in the HTML page.
With Javascript I call a shell function to start the forms application and ask to the HTML page to wait to the application exit code response.
The shell command I execute from Javascript is described bellow:
WshShell.run("c:\...\...\ifrun60.exe formname.fmx parametername=parameter",1,true)
where parameter identified a specific code that I've to send from HTML page to Forms application.
The page is waiting for the application response. When I close the Forms application I receive the '0' code. How can I customize this exit code from my forms application.
Thanks to all
|
|
|
|
Re: Exit code to windows [message #183118 is a reply to message #182961] |
Wed, 19 July 2006 07:28   |
cyber
Messages: 2 Registered: July 2006
|
Junior Member |
|
|
I've used this solution till now...but I've to implement the exit code procedure cause I'm using some forms applications with different databases. In the future the HTML page will not be able to access to all the application databases.
|
|
|
|