LICENSE |
Post Reply |
Author | |
Renan
Newbie Joined: 18 November 2004 Location: Philippines Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 18 November 2004 at 12:58am |
Hi! Could somebody help me with my Licensing problem. How do I use or create the .LIC file, what is is the right naming "NAME.LIC" for it and how do I integrate or call fron my code. I tried using the class .License and it doesnt work. I'm using VB6, and latest version of Xtreme Suite for ActiveX. Thank! :) |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
Try adding this:
CommandBarsGlobalSettings.License = "Line 1 of lic file" & vbCrLf & "Line 2 of lic file" & vbVrLf & etc... DockingPaneGlobalSettings.License = "Line 1 of lic file" & vbCrLf & "Line 2 of lic file" & vbVrLf & etc... etc..... |
|
Boyd
Senior Member Joined: 08 December 2003 Location: United States Status: Offline Points: 285 |
Post Options
Thanks(0)
|
Just a follow-up, the LIC file is not created by the developer. It is provided by Codejock when you install the licensed version of the controls. There is a LIC file for each OCX you have a license for. These files are installed in the same location as the OCX files and are named the same as the OCX file (except with the LIC exention instead of OCX). Hope this helps! |
|
Renan
Newbie Joined: 18 November 2004 Location: Philippines Status: Offline Points: 2 |
Post Options
Thanks(0)
|
Thanks a lot guys for your prompt response. |
|
dlord
Newbie Joined: 25 October 2004 Location: United States Status: Offline Points: 25 |
Post Options
Thanks(0)
|
does it need to include the last few line of ---- Warning: This product is licensed to you pursuant to the terms of the
|
|
Boyd
Senior Member Joined: 08 December 2003 Location: United States Status: Offline Points: 285 |
Post Options
Thanks(0)
|
Nope... you can exclude those lines.
|
|
umcbrad
Newbie Joined: 26 April 2005 Status: Offline Points: 10 |
Post Options
Thanks(0)
|
Codejock Support, I'm trying to distribute the Codejock.ReportControl.Unicode.v9.80.ocx file with my .exe for client use. I am using a c++ .exe that calls a VB activeX dll, which in turn uses the codejock Report Control .ocx. The c++ .exe is built in ASNI, not Unicode, just in case that matters. For testing purposes, I have also tried loading the .ocx file directly in C++ using COleDispatchDriver::CreateDispatch(). The errors I mention below occur the same either way I try it.... Things work fine on my Dev machine, and I have even got things to work on more than one client machine. However, we are having problems with installing on other client machines...we have had successful installs on machines running XP Pro and Server 2003. We have had bad installs on machines running XP Pro, and Server 2003. In one case, we have had one error (mentioned below) on a server 2003 machine, and then the other error on the same machine, but when logging onto the machine with MS Remote Desktop Program (mstsc.exe). I get two different errors on two different installs when trying to create an instance of the ocx (or when calling the VB dll that contains it). One is a Microsoft error, SCODE 80040112, which is "the class is not licensed for use", and the other is SCODE 80040154, which is "class not registered". I have copied the codejock .ocx to the client machine and registered it using regsvr32.exe. Is this the correct procedure? Is there someone in the documentation that mentions the distribution procedure? What about this .lic file? Is it just for when using with the IDE? Thanks for the help, Brad
|
|
JamesH
Senior Member Joined: 01 December 2004 Status: Offline Points: 149 |
Post Options
Thanks(0)
|
Brad, Are you setting the licence? In our WTL application we do somthing like this: CComPtr<XtremePropertyGrid::IPropertyGridGlobalSett ings> spPropertyGridSettings; Not sure if that will help but might give you something else to look at? |
|
gbdc
Newbie Joined: 22 October 2005 Status: Offline Points: 5 |
Post Options
Thanks(0)
|
When I try to distribute my program to a test machine, I keep getting this error upon execution:
"the class is not licensed for use" I work in VB6 environment, and I embedded the lic file contents as you have suggested above: CommandBarsGlobalSettings.License = _ "xxxxxxxxxxxxxxxx line 1" & vbCrLf & _ "xxxxxxxxxxxxxxxxxline 2" & vbCrLf & _ "xxxxxxxxxxxxxxxx line 3" XtremeCommandBars.CommandBarsGlobalSettings.License = CommandBarsGlobalSettings.License and so on for all the codejock controls I use, in the frmMain.form_initialize routine. Any advice? |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |