Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creation VS. Get
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00058890
Message ID:
00059120
Views:
32
>I've been using createobject() for awhile now and am please with the results.
>Today I ran across getobject() and I can't seem to figure out the diff.
>This may have something to do with the fact that I CAN'T GET "GET" TO WORK !!!
>Could someone GET the light for me.
>
>Thanks
>Jeff

Jeff,

GETOBJECT() when specified with the oleClass will always start another instance of the object (e.g. Word). When used without the oleClass, you will get the same results as Createobject(), that is, it will search the registry for the appropriate class (if Set OleObject is at the default, ON), and start another instance of that application if required, but will not start one if it isn't required.

Hank
Previous
Reply
Map
View

Click here to load this message in the networking platform