Winsock Control License ???
Posted on 1999-07-22
This code snippet wont work on a customer's machine, even though i distribute i correct ocx's and dll's; (The Microsoft Winsock Control 6.0 is not referenced, and should not be in my case).
Private mConn as Object
Private Sub Form_Load()
Set mConn = CreateObject("MSWinsock.Winsock")
. e t c
As the title states, the difference seems to be that on my developer machine with Visual Studio 6.0 SP3 i have a license for the Winsock Control - but the customer machine doesnt...
Is it possible to use "Licenses.Add "MSWinsock.Winsock", "<LicenseKey>" to allow for this dynamic creation - and if so, where do I find the key?!??!?
If I copy the key HKEY_CLASSES_ROOT\Licenses\2c49f800-c2dd-11cf-9ad6-0080c7e7b78d to the target machine, then my application runs ok!!