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 -> Using OLE in Forms 5.0 to call Word 97

Using OLE in Forms 5.0 to call Word 97

From: <drobinson1_at_my-deja.com>
Date: Thu, 03 Feb 2000 15:41:19 GMT
Message-ID: <87c7iu$es8$1@nnrp1.deja.com>


I have a basic requirement which involves using Forms 5 to call MS Word in order to print and/or view documents on the filesystem.

Preferably it should also be able to use Word to print not only DOC files, but also other files which can be handled by Word, such as RTF and HTML. The actual filenames will be known only at runtime, whether by fetching from the database or accepting user input (thus no predefined OLE/OCX links or embedding at design time).

Unfortunately the available documentation on using OLE in Forms is very scarce. All I have now are the few pages available in the Forms Advanced Techniques manual and a document from technet.oracle.com titled "WIN: OLE AUTOMATION GUIDE-ORACLE FORMS TO MICROSOFT WORD" which describes some operations using WordBasic via the OLE2 package. And I can barely find anything on using the procedures and packages created by the OLE importer.

Can any of you please give an example of how to print a document via Word based on a filename (without necessarily opening Word in a visible manner), or of invoking Word to open a file for viewing? Or ANY working example of using procedures from the OLE importer to call ANYTHING with Word or Excel? Or could you point me to some more thorough documentation (web sites or books) on using OLE in Forms?

Thanks in advance.

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Thu Feb 03 2000 - 09:41:19 CST

Original text of this message

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