Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COM Automation - Class Definiation
Message
 
À
04/02/2005 21:00:16
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00984083
Message ID:
00984134
Vues:
31
>Hi,
>Anyway I can know the Class Definication of particular for COM Automation? For example, "Word.application", "Sourcesafe". Where to get the reference? I tried to use object browser, but it doesnt help in this area.
>
>Any ideas?
>
>Thank you

In the VFP 8 command window do this:

oWord=CREATEOBJECT("Word.Application")
Then, in the command window, type "oWord."

When you press the 'dot', and autocomplete window with the available properties or methos will appear. You can instanciate, and "drive" objects from command window. It can save a bunch of time and shorten the curve when working with new objects!
Imagination is more important than knowledge
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform