Information générale
Catégorie:
Codage, syntaxe et commandes
>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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement