Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COM Automation - Class Definiation
Message
 
To
04/02/2005 21:00:16
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00984083
Message ID:
00984134
Views:
40
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform