DCOM Support

Distributed COM or DCOM allows you to create and communicate with objects that live on another computer. Then, that computer's memory and processor handle the load of running that object. This is knows as 'distributed processing'. Once a distributed object has been instantiated in your script, your code has no idea (nor does it care) that the object lives on another computer somewhere on your network. Microsoft added DCOM support to VBScript 5 by adding an additional optional argument to the CreateObject function. You pass the name of the computer on which the object is registered as the second argument of the CreateObject function. For example:

Set oCutstomer = CreateObject("MyComponent.Customer", \\MyRemoteServer)