|
Support
ActiveX / COM
Visual C++ / MFC
Customer Spotlight
Corporate Partners
Contact Sales
Call center available M-F 9:00 - 6:00 US Eastern Time. U.S. and Canada International Email |
Embedding License Information in Your Application
Author: Mike Palmatier
Posted: June 26, 2006
Environment: Visual Studio 6, 2002, 2003, 2005
There are some situations that you may need to include the content of the LIC file in your control using the License property.
You DO NOT include the actual LIC file. For example, if you develop in C# you will need to include the license information,
if you are developing an ActiveX control for Internet Explorer, you will need to include the license information, or if you are creating an
ActiveX control that uses\included a Codejock component you will need to include the license information. There might be other situations
where this is needed as well.
Private Sub Form_Initialize()
CommandBarsGlobalSettings.License = "CommandBars Control Copyright (c) " & _ "2003-2006 Codejock Software" & vbCrLf & "PRODUCT-ID: " & _ "Codejock.CommandBars.ActiveX.v10.20" & vbCrLf & _ "VALIDATE-CODE: XXX-XXX-XXX-XXX"
End Sub |
