Currently, I have a VB6 ActiveX EXE which is located on a server. I have numerous progams that use this ActiveX EXE. I have used early binding in all these programs.
Whenever a change is made to the ActiveX EXE which breaks compatibility, I have to unregister than Re register the ActiveX EXE in all the projects. This happens a couple of times a year.
It is my understanding that with late binding this would not be necessary. Is this correct?
I tried to experiment with the late binding but was not able to create the object.
Dim objWP as Object
objWP = CreateObject("WPExe.exe","\\FileServer\Code")
This code failed.
I also tried
objWP = CreateObject("WPProject.Class1","\\FileServer\Code")
This also failed. I have never installed or registered the ActiveX EXE on the server(FileServer).
What would be the correct way to accomplish this.