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 -> OLE2 from forms 5.0 What's going wrong ?

OLE2 from forms 5.0 What's going wrong ?

From: Abiy Alemu <abiy_at_biotec.jouy.inra.fr>
Date: Fri, 19 Jun 1998 11:02:15 +0200
Message-ID: <Pine.SOL.3.91.980619110040.7552A-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. What should I do either in my forms or in the Word document in order to be able to open my file ?

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

| 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 Fri Jun 19 1998 - 04:02:15 CDT

Original text of this message

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