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 -> Re: Word and OLE Containers

Re: Word and OLE Containers

From: Yann Chevriaux <chevriaux_at_theleme.com>
Date: Wed, 22 Sep 1999 16:20:04 +0200
Message-ID: <37E8E593.7A3490DA@theleme.com>


I do something like that:

  When I create a new document from a Forms, I display a Master-Detail Form in query-only mode:

       Master Block is a list of templates names
       Detail Block is a preview (OLE Container) of the template

  To get a template, the user right-click on preview and copy .   Then, manually back to the document just created, he right-click on the OLE Container and Paste.

Today, it works and seems to be user-friendly enough.

I did it because:

  1. I don't know how to access to the file system
  2. Databased OLE container don't seem to support Word.Basic as OLE Automation Object but only Word.Document.

Could you help me about that ?

Hope this can help you !

Your Name a écrit :

> Hi Dudes and Dudettes,
>
> Question.
>
> I plan to have a form which has an OLE container which is connected to a
> database item and a push button. whe the user pushes the push button, they
> can choose a word template file from the filesystem (e.g
> c:\temp\template.doc). Once selected, word is opened and the template is
> automatically opened within word. I use the OLE2 package for this.
>
> This part is not a problem. What i want to happen is when the word document
> is saved in word and word is exited, i want the saved file to be placed
> inside the OLE Container in Forms.
>
> We can't store the template on the database and open it up from there
> otherwise when the user does a save, the template is overwritten.
>
> Any ideas?
>
> Mark.
Received on Wed Sep 22 1999 - 09:20:04 CDT

Original text of this message

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