Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

dde_app_failure when calling winword

459748Nov 22 2005 — edited Nov 23 2005
Hi,

i have an Oracle Forms 6.0. application. The user can select a word document from a list; after pressing a button, the chosen word file is downloaded from the database (BLOB column) and saved in a local directory c:\aida\temp. After that, winword is opened, and the local word file, too.
This has worked pretty well in our test environment; however, it does not work in our customer's test environment.
Everything works until the execution of this statement:

appid := DDE.APP_BEGIN ('WINWORD.EXE', DDE.APP_MODE_MINIMIZED);

This is where the dde_app_failure exception is invoked.

So, the error obviously can't have anything to do with the chosen word file because the file is opened afterwards with the following commands

convid := DDE.initiate ('WINWORD','SYSTEM');
dde.execute (convid, '[FileOpen "'|| dateiname ||'"]',10000);
docid := dde.initiate ('winword', dateiname);
....
But here, it seems to be the mere opening of the Winword application which fails. The word window appears on the screen for about a half second (so obviously winword can be found), but then it looks as if it is closed again immediately, and the app_failure error occurs.

Does anybody have a good guess what might be the reason for this ? Maybe it is some pc configuration problem, or some DB settings which must be done before ?
Please help !

Thank you very much in advance.
kind regards
Marc
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 21 2005
Added on Nov 22 2005
2 comments
552 views