General information
Category:
Coding, syntax & commands
>>From your example, the COM server is registered locally because you are using the ProgID to create it.
>
>Right, but I didn't have to. I could have used the CLSID, and specified the machine in the second parameter (that was left empty in my example).
I am beginning to make the habit of putting the COM object's resident machine name in a variable (even if its the local PC) and always using
CreateObjectEX() instead of CreateObject(). Before I really get used to doing this, can you think of a reason why it might be a bad idea?
Thanks.
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