ORA-106556 (Word Viewer cannot open the document ...) [message #210237] |
Wed, 20 December 2006 00:07 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
underpressure_23
Messages: 5 Registered: December 2006 Location: thailand
|
Junior Member |
|
|
This is my code:
IF :misc.destination = 'SCREEN' THEN
v_temp_directory := WIN_API_ENVIRONMENT.GET_TEMP_DIRECTORY(TRUE);
v_temp_dest := v_temp_directory ||'\FLA-'||:c028.line_cd||'-'||ltrim(to_char(:c028.la_yy,'09'))||'-'||ltrim(to_char(:c028.fla_seq_no,'0000009'));
args := OLE2.CREATE_ARGLIST;
ole2.add_arg(args, v_temp_dest);
ole2.invoke(application, 'FileSaveAs', args);
OLE2.DESTROY_ARGLIST(args);
args := ole2.create_arglist;
ole2.add_arg(args, 2);
ole2.invoke(application, 'FileClose', args);
ole2.destroy_arglist(args);
ole2.invoke(application, 'FileExit', args);
AppId := DDE.App_Begin('C:\Program Files\WordView\wordview.exe '||v_temp_dest, DDE.App_Mode_Maximized);
ConId := DDE.Initiate('WINWORD', v_temp_dest);
END IF;
the path of the wordviewer is correct yet i still encounter error s and cannot open the word document.
can anyone please helpme . thanks =)
|
|
|
|
|
|
|