so my question is relatively simple, can I create a VB6 application that references a class in the dll and then replace that dll with another at runtime?
Now my main hunch is that there is no chance in VB6.
So my thoughts turned into a dll VB.net interop. Can I do this here and then call the interop dll from VB?
Again, my hunch will not be ... but I would be happy if someone knew otherwise.
The only thing that in my opinion will work is the DI in .Net, but I am limited to .net 2 or 3.5 with a big press, so I donβt know if this is possible.
So for the background ....
I have a dll that uses a specific site, but we do not want to pass it on to everyone. Instead, we want to create a clone dll that simply installs the interfaces to complete the VB6 build. When he gets to the site that needs him, they want to replace dummy dll and instead insert his version.
Note. We use RegFreeCOM when it is installed, so I have manifest files that I could play with if needed.
Any ideas would be highly appreciated.
Nick
source share