Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> What's going wrong with this code

What's going wrong with this code

From: Abiy Alemu <abiy_at_biotec.jouy.inra.fr>
Date: Thu, 18 Jun 1998 08:39:26 +0200
Message-ID: <Pine.SOL.3.91.980618083728.8026A-100000@biotec>


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 !!!!

|-----------------------------------------------------------------------------|

| 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)________|
Received on Thu Jun 18 1998 - 01:39:26 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US