In some circumstances, you use the CreateObject function to create an object from an ActiveX class. The CreateObject function receives the class name as argument, and creates the object for you. In order to create the object, it loads and uses the right library or executable file that contains the interface for that object.
For Example:
set objApplication = CreateObject("Word.Application")
When you run the above code, the CreateObject will use the winword.exe in order to interact with the objects of Microsoft Word.
The following Code Snippet shows how to reveal the filename that will be used for a specific ActiveX class. It does it by reading the class definitions from the Registry.