Hi, All !
I tryed to do exapmle RibbonBar.prg (FWH 9.4) but RegisterServer( "Codejock.CommandBars.v12.1.1.ocx" ) is not work and I got error GPF
(file Codejock.CommandBars.v12.1.1.ocx exist in pholder of this example). What it ?
Hi, All !
I tryed to do exapmle RibbonBar.prg (FWH 9.4) but RegisterServer( "Codejock.CommandBars.v12.1.1.ocx" ) is not work and I got error GPF
(file Codejock.CommandBars.v12.1.1.ocx exist in pholder of this example). What it ?
Natter,
Have you tried it with the CodeJock 13.0.0 demo version ?
Yes, I tried with 13 and 12 and 11 versions - it is not work. But if I istalled before full Codejock ActiveX then work fine
If IsActivex("Codejock.CommandBars.v12.1.1.ocx")
  MsgInfo("Activex is already Registerd")
else
  MsgInfo("Activex is NOT Registerd, Now it will Register")
  RegisterServer( "Codejock.CommandBars.v12.1.1.ocx" )
EndifPrivate 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 SubHi,
I do regsvr32 Codejock.CommandBars.v12.1.1.ocx - is sucsessfull, but ribbonbar not work
Yes, if CodeJock Setup.exe(any versions) is run then everything works fine
MsgInfo("About to call TActivex")
// Program gives GPF at the next line.
oAct := TActiveX():New( oWnd, "Codejock.CommandBarsFrame.12.1.1", 0, 0, 100, 100 )ACTIVATE WINDOW oWnd ;
   ON INIT (oSettings = oAct:GetProp( "CommandBarsGlobalSettings" ),;
   oSettings:License = "CommandBars Control Copyright (c) " + ;
  "2003-2006 Codejock Software" +CRLF+ "PRODUCT-ID: " + ;
  "Codejock.CommandBars.ActiveX.v12.1" + CRLF +;
  "VALIDATE-CODE: xxx-xxx-xx-xxx")Hi Mr.Natter,
Good to know that you solved the problem. So how do we distribute the application on client PC's. CodeJockCommandBars.lic file is a simple text file containing the licence key, which means that anybody can read the licence key. I believe that there should be someother way to solve this issue.
Regards
Anser
You can distributed for users files Codejock.CommandBars.v12.1.1.ocx and Codejock.CommandBars.v12.1.1.lic.
Then, for first run you application, do :
regsvr32 /s Codejock.CommandBars.v12.1.1.ocx
You can distributed for users files Codejock.CommandBars.v12.1.1.ocx and Codejock.CommandBars.v12.1.1.lic.
Then, for first run you application, do :
regsvr32 /s Codejock.CommandBars.v12.1.1.ocx
CoInitialize()
If IsActivex("Codejock.CommandBars.v12.1.1.ocx")
MsgInfo("Activex is already Registerd")
else
MsgInfo("Activex is NOT Registerd yet, Now FWH is going to Register this Activex")
RegisterServer( "Codejock.CommandBars.v12.1.1.ocx" )
Endif
// See the next statements. IsActivex() always returns .F.
CoInitialize()
If IsActivex("Codejock.CommandBars.v12.1.1.ocx")
MsgInfo("Activex is Successful")
else // Not Registered
MsgInfo("Unable to register the Activex")
Endif
I don't know why IsActivex() always returning .F. in my PC
The question is: why the CLSID is not found for a certain PROGID ?
IsActiveX("Codejock.CommandBars.12.1.1")IsActiveX ("Codejock.CommandBarsFrame.12.1.1")Dear Mr.Stefan,
I have tested only on Windows XP SP3. What is the OS used in your PC ?
Regards
Anser