CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2001
    Location
    London, Ontario, Canada
    Posts
    20

    Grid Control(I think!!)

    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


  2. #2
    Join Date
    Aug 2000
    Location
    KY
    Posts
    766

    Re: Grid Control(I think!!)

    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.


  3. #3
    Join Date
    Jun 2001
    Location
    London, Ontario, Canada
    Posts
    20

    Re: You May be on to Something

    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


  4. #4
    Join Date
    Jun 2001
    Location
    London, Ontario, Canada
    Posts
    20

    Re: dfwade, post another message to be further rated!

    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

  5. #5
    Join Date
    Aug 2000
    Location
    KY
    Posts
    766

    Re: dfwade, post another message to be further rated!

    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.



  6. #6
    Join Date
    Jun 2002
    Posts
    10
    Install this file 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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured