Page 1 of 1

OCX control license missing ?

Posted: Tue Jan 08, 2002 6:56 pm
by RouteView
I^ve got the R&R SQL Report Control included in the sample VB project (C:Program FilesR&R SQL Report WriterSampleVB), but when I try to look at the main form (RSWVB32.frm) or the OutWin form (Outwin32.frm), VB gives an error message and points me to the following files:____RSWVB32.log__ Line 139: Cannot load control DispStatus; license not found.__ Line 151: Cannot load control DispErrors; license not found.____Outwin32.log__ Line 97: Cannot load control CtrlBox; license not found.__ Line 109: Cannot load control MinBut; license not found.__ Line 121: Cannot load control MaxBut; license not found.____I think I^ve also loaded all of the built in VB controls. Does anyone know what is missing?____Thanks, Jon

=> RE: OCX control license missing ?

Posted: Wed Jan 09, 2002 7:03 am
by kfleming
This is not an error that I have seen before.__What version of VB?__Can you create a new project and successfully add the RSW32.OCX to it?____Kathleen__R&R Support

==> RE: OCX control license missing ?

Posted: Wed Jan 09, 2002 6:30 pm
by RouteView
>This is not an error that I have seen before. __>What version of VB? __>Can you create a new project and successfully add the __>RSW32.OCX to it? __>__>Kathleen __>R&R Support ____Hi Kathleen:____I^m using VB V6. After I posted my notice, I noticed that the app was developed with VB4.____I am able to successfully create a project and add RSW32.OCX to it. VB is happy until I try to look at the forms mentioned, then it complains with the error messages I quoted.____If I look at the source code for the forms before looking at the form visually, I see entries for the DispStatus, DispErrors, CtrlBox, MinBut, and MaxBut controls, but there is no code associated with any of the events for those controls.____I suspect that VB recognizes the controls using GUIDs, and that the equivalent controls have different IDs in V6. I^ve selected the "Upgrade ActiveX controls" option in the project properties (default), but maybe the built in controls are different.____Have you tried opening the project in the distribution using something beyond VB4?____Jon