>Hi Mike
>
>My impression of OLE automation is that the OLE server will take over the control from the VFP app.
OLE Automation allows VFP to "drive" the server. VFP is the client the OLE is the server. The servers job is to process client requests. In this case VFP is in control - and with the exeception of a flaw in the VFP program - the server should never "take over the control" from VFP.
In some cases, VFP could be an OLE server to an Excel or Word Macro - client.
When we CREATEOBEJECT() in vfp - we are driving.
I need to create an Org Chart within a VFP form. Is it possible with Ole automation to create a VISIO object within a VFP form?A neat feature with VFP 7 and later is the "auto-complete".
You should try this from your VFP command window.
oWord=createobject("Word.Application")
?oWord.
Now see what you get when you CREATEOBJ() with the Viso object!
Imagination is more important than knowledge