Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ActiveX for Organization Charting
Message
 
À
14/01/2006 04:14:07
Hong Yew
People Quest
Malaisie
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01086650
Message ID:
01087339
Vues:
24
>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.   && Notice when you press the dot - all the methods and properties 
          && avaialiable are presented from that location in the Word
          && object are waiting for your VFP program to demand service
          && or information.
Now see what you get when you CREATEOBJ() with the Viso object!
Imagination is more important than knowledge
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform