Click to See Complete Forum and Search --> : Grid Control(I think!!)


Bonovox011
July 5th, 2001, 12:28 PM
I am reworking a project for the company that someone else wrote. When I try to run it on my computer I get an error saying undeclared variable(grdList) Since it has the prefix grd I assume it is a grid although I can't find a grid anywhere!! I setup an error log for the form and upon loading it writes to the error log saying that it could not load the control grdList(explaining why there is no grid) stating (Line 52: Property OleObjectBlob in grdList could not be set.
Line 52: Cannot load control grdList; license not found.) Can anyone help me decypher this?? I will rate cuz I really need help on this one, what do I need to do here??

God Bless
Dream Out Loud

Bonovox011

dfwade
July 5th, 2001, 01:21 PM
I don't know igf this will help, however, it appears that you need an ocx that is not registered on your machine. If you have the original source code, open the VBP file with notepad. At the top of the file you should see the list of references to controls. Somewhere in that list you should see a reference to a control that you do not have. When you find it, register it and you should be ok.

Bonovox011
July 5th, 2001, 02:13 PM
Hey thanks for the quick reply!!

I found a couple of ActiveX controls that I did not have but the program still won't run, will the OCX files register themselves or do I have to do it? If I have to, how? Using the regsvr32.exe?

God Bless
Dream Out Loud

Bonovox011

Bonovox011
July 5th, 2001, 02:55 PM
I Registered the .ocx files and it fixed some of the problems but not all, I have the same error and problem with a grdBatch, I don't know why but you fixed my List and Archive problems so post any message so that I can properly rate you, thanks again!

God Bless
Dream Out Loud

Bonovox011

dfwade
July 6th, 2001, 08:16 AM
Sorry, went home for the day. Please post the code that is calling grdbatch.
You may have components that are not ocx's but dll's that need to be registered.

cham666
May 28th, 2004, 04:54 AM
Install this file VB5Cli.exe (http://download.microsoft.com/download/vb50pro/UtilA1/1/WIN98/EN-US/VB5cli.exe). The Grid Control you are having a problem with is a VB5 control so this will fix it. It worked for me. Good Luck.