Problem with Webutil CLIENT_HOST [message #261508] |
Wed, 22 August 2007 18:56 |
Prasad01
Messages: 22 Registered: August 2007
|
Junior Member |
|
|
Hi,
I am trying to use Webutil_host.NonBlocking_With_Callback.
When I invoke a txt document via notepad, it works fine but not for doc file
This is for Notepad:
V_PROCESS_ID := WebUtil_Host.NonBlocking_With_Callback('NOTEPAD '||C:\Test.txt, 'CALL_BACK');
This works absolutely fine,it opens the txt file and my code in Call_Back trigger gets fired when I close the 'Notepad Application'
But when I want to open word doc I cannot use above code. so I have to use
v_cmd := 'cmd /c C:\Test.doc';
V_PROCESS_ID := WebUtil_Host.NonBlocking_With_Callback(v_cmd , 'CALL_BACK');
This works fine upto opening the document, but also immediately fires the code in Call_Back trigger not waiting for the 'Word Application' to be closed.
Is there a way to get around this???
|
|
|
|
|
|
Re: Problem with Webutil CLIENT_HOST [message #261897 is a reply to message #261894] |
Fri, 24 August 2007 00:09 |
Prasad01
Messages: 22 Registered: August 2007
|
Junior Member |
|
|
I have tried Client_Host and also Client_Ol2, they work fine.
But I want to use WebUtil_Host.NonBlocking_With_Callback, because when user finishes typing word document and closes word, 'CALL_BACK' trigger would fire.
This enables me to update database and forms. Otherwise user will have to click in the form somewhere to fire my code
|
|
|
Re: Problem with Webutil CLIENT_HOST [message #262382 is a reply to message #261897] |
Sun, 26 August 2007 20:05 |
|
djmartin
Messages: 10181 Registered: March 2005 Location: Surges Bay TAS Australia
|
Senior Member Account Moderator |
|
|
I think you will have to raise this question on metalink or on Oracle's own Forms forum.
My gut feeling is that 'notepad' is a 'single' program application but the various MS Office products (Word, Excel, etc) are a 'multiple' program application. Are there parameters that you can use to 'force' Word to be seen as a 'single' program application?
David
|
|
|