WEBUTIL_HOST.blocking is not blocking
jCareyJul 10 2008 — edited Jul 15 2008Hello,
I am having problems using WEBUTIL_HOST.blocking for Microsoft Office 2003 products and Adobe. For example, if I try to open a Word document in blocking mode and Word is already open, the blocking feature fails. I found that this happens also in Excel, Outlook and for pdf files. If the host application is not already open the blocking feature works fine. I have found that for file types using notepad, the blocking feature works all the time.
Here is our setup:
Forms Version 10.1.2.0.2
JInitiator: Version 1.3.1.2
Forms AS 10.1.2.0.2
DB10g Enterprise Edition Release 10.1.0.5.0
Windows XP professional, service pack 2
Here is the code that runs:
// v_fullname contains the fully qualifed filename
v_Cmd := 'cmd /c start "" /WAIT "' || v_fullname || '"' ;
Ret := WEBUTIL_HOST.blocking( v_Cmd ) ;
I found a thread on here that solved this problem for Word with the following syntax
v_Cmd := 'cmd /c start "" /WAIT WINWORD /W "' || v_fullname || '"' ;
Is there a way to solve this problem with a generic solution? All help is greatly appreciated.
Thanks Jim