General information
Category:
Coding, syntax & commands
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only