I have created an activex with VB 6.0 and would like to know how it creates a .LIC file after entering the serial information? I have searched for this and came up empty handed!
Thanks
Printable View
I have created an activex with VB 6.0 and would like to know how it creates a .LIC file after entering the serial information? I have searched for this and came up empty handed!
Thanks
Do you mean the built in licensing for VB ActiveX Controls?
On the General Tab of the Project Properties check Require License Key.
When you build the Control into an OCX a VBL extension file will be generated, this is the License Key.
Thanks! But if I want to have it show a nag screen in both runtime and designtime, I need to code in my own licensing routine right? Because the one you described does not allow the control to be used in designtime? Or am I wrong on this?
Right, the licensing feature (if you can even call it that) in VB for ActiveX controls is very limited.
If you want even a modicum of control, you'll have to come up with your own licensing method.