Is the only way to access a DLL or AXEXE that is on a remote computer through CreateObject?
How can you set a refrence to a DLL that is on a remote computer on a network?
Printable View
Is the only way to access a DLL or AXEXE that is on a remote computer through CreateObject?
How can you set a refrence to a DLL that is on a remote computer on a network?
This is called DCOM - Distributed COM. I believe you simply pass the target UNC of the machine when creating the object:
or something similar. However, DCOM is a *large* subject, and I suggest you do some heavy reading before implementing it.. :)Code:Set Obj = CreateObject("library.class", "//server/")
Umm i know how to use createobject.... you obviously misunderstood my question..
Perhaps your signature got in the way of my actually reading your question....
You can't reference a DLL on a remote machine. You use DCOM is you want to create objects remotely.