I have a VB5 ActiveX DLL that uses it's own CLSID internally and supplies this to client applications via one of it's properties.
The problem is that everytime I make the DLL in VB, a new CLSID is generated and registered for the control. Since I've been manually copying the CLSID into a string in the source for the control, when it's updated the code is wrong. It's a catch-22 since when I update the code and rebuild, the CLSID is again updated....
An answer to any of the following would be helpful:
1) How can the control get it's own CLSID programatically and return it as a string through one of it's properties?
2) How can I stop VB5 from updating the CLSID when I make the DLL?
3) How can I manually set a CLSID instead of having VB make it's own.