Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> What's going wrong with this code
I would like to open a word document using the built-in OLE2 package of
forms like this
DECLARE
application OLE2.obj_type ;
args OLE2.list_type ;
BEGIN
application := OLE2.create_obj('Word.Basic') ;
OLE2.invoke(application, 'AppShow') ;
args := OLE2.create_arglist ;
OLE2.add_arg(args, 'C:\my_dev\example.doc') ; OLE2.invoke(application, 'FileOpen', args) ; OLE2.destroy_arglist(args) ;
OLE2.release_obj(aplication);
END ;
But nothing happens. Can you tell me why my word document does not
appear ? Very urgent !!!!
|-----------------------------------------------------------------------------|Received on Thu Jun 18 1998 - 01:39:26 CDT
| If the only tool you have is a | Abiy Alemu abiy_at_biotec.jouy.inra.fr |
| hammer, everything in the world | 9, avenue calmels |
| seems like a nail.____________________| 92270 Bois colombes (France)________|