dde_app_failure when calling winword [message #148185] |
Wed, 23 November 2005 00:42 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
SchroederDirk
Messages: 5 Registered: August 2005 Location: Hamburg, Germany
|
Junior Member |
|
|
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
Dirk
|
|
|
|