Using WINWORD from D2000
From: Hiew Hong Teck <wgi_at_moe.ac.sg>
Date: 1997/03/24
Message-ID: <5h577q$onl_at_socrates.moe.edu.sg>#1/1
Date: 1997/03/24
Message-ID: <5h577q$onl_at_socrates.moe.edu.sg>#1/1
I'm developing using Developer 2000 Forms v4.5 and I need to execute and interface with Microsoft WORD from within the Forms. I am looking at using OLE Servers and OLE Containers. I need someone to help me use the Forms_OLE.Activate_Server() and Forms_OLE.Initialize_Container() built-in functions. I do not now what is the item_name or item_id parameter and how to specify that I want MSWORD to be the Server application.
Eg usage:
item_id := Find_Item(item_name);
IF Id_Null(item_id) THEN
message('No such item: '||item_name);
ELSE
Forms_OLE.Activate_Server(item_id);
END IF;
item_id := Find_Item(item_name);
IF Id_Null(item_id) THEN
message('No such item: '||item_name);
ELSE
Forms_OLE.Initialize_Container(item_id,'c:\OLE\document.doc');
END IF;
Thanks for the time!
Hong Teck
wgi_at_piaget.moe.edu.sg
-- --------------------------------------------------------------------------Received on Mon Mar 24 1997 - 00:00:00 CET
_at_@@@@@@@@/ nAMe hiEw hONg tECk @ miNIStry oF EduCAtion SinGAPore -
_at_@@@@@@@/ eMAil wgi_at_piaget.moe.edu.sg or HIEW_Hong_Teck_at_moe.gov.sg -
_at__at__at__at__at__at__at_/ weBPaGe http://www.focus-asia.com/home/hongteck/ -
--------------------------------------------------------------------------
