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

Home -> Community -> Usenet -> c.d.o.server -> Re: Forms 4.5 Problem (Win95 platform)

Re: Forms 4.5 Problem (Win95 platform)

From: Mike Proctor <mp_at_mg-tc.demon.co.uk>
Date: 1997/01/30
Message-ID: <9yR+lUA6yI8yEwUd@mg-tc.demon.co.uk>#1/1

In article <32E80AD2.17F3_at_itsd.gcn.gov.hk>, Michael Chan <itsa14_at_itsd.gcn.gov.hk> writes
>Urgent !!! Do anyone know how to print a embedded object (from Word 6.0)
>from Forms 4.5 WITHOUT making Word visible ?
>
>I have some hint to invoke Word (using OLE2 package). However, Word is
>still visible !
>
>Thanks.

It's much out if favour these days but if you look at the Forms DDE package, this is entirely possible (I've done it). It also seems a little easier (read 'less coding') to do using DDE rather than OLE2.

One word of caution, for some reason, we have received occasional GPF's when using DDE in Windows95 but *not* in Windows 3.x, work that one out! These normally arrise *only* when the user closes Word from Word itself, rather than letting the Form end the 'conversation'.

What you want to do should be (I think) possible in OLE2 as well, but I'm afraid, I'm not the one to help you there, as I've had little call, so far, to use it, and therefore little practical experience of it (OLE2).
Maybe someone else will make a few suggestions?

If you use DDE, I would strogly suggest writing a Forms Package or Library Package to handle the calls to DDE, and you will need to pay fairly strong attention to exception handling with DDE.

Hope that is of some help, Good Luck.

Of you try DDE and get stuck, feel free to mail with any fairly specific questions and I'll try to help.

-- 
Mike Proctor                    Database Consultants International (UK)

Mike_Proctor_at_realworld.com      Oracle vision.
                                Only Oracle.
                                All the time.
Received on Thu Jan 30 1997 - 00:00:00 CST

Original text of this message

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