Moving DBgrid32.ocx from VB5 to VB6


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Moving DBgrid32.ocx from VB5 to VB6

  1. #1
    Judy Guest

    Moving DBgrid32.ocx from VB5 to VB6

    I'm moving my application (created with VB5) to a second computer which
    I have installed VB 6. (As a test to find out what will and won't work)
    My first problem is the DBGrid32.ocx. I moved three DBGrid32 files from
    my old
    system to the newer one and registered it using the Command line entry
    "RegSvr32 DBgrid32.ocx" and it acknowledged that it was registered. I
    also browsed to find and add it to the component library so that I could
    select it on the VB 6 machine but I'm still getting an error as soon as
    the form with the dbgrid is suppose to "show". ie. the line "form2.show"

    "Line 53: Property OleObjectBlob in DBGrid1 could not be set.
    Line 53: Cannot load control DBGrid1; license not found. "

    Could some kind person tell me what step I'm forgetting?

    Thanks!

  2. #2
    Paul Clement Guest

    Re: Moving DBgrid32.ocx from VB5 to VB6

    On Sun, 03 Sep 2000 12:08:18 -0700, Judy <jcoffman@sos.net> wrote:

    I'm moving my application (created with VB5) to a second computer which
    I have installed VB 6. (As a test to find out what will and won't work)
    My first problem is the DBGrid32.ocx. I moved three DBGrid32 files from
    my old
    system to the newer one and registered it using the Command line entry
    "RegSvr32 DBgrid32.ocx" and it acknowledged that it was registered. I
    also browsed to find and add it to the component library so that I could
    select it on the VB 6 machine but I'm still getting an error as soon as
    the form with the dbgrid is suppose to "show". ie. the line "form2.show"

    "Line 53: Property OleObjectBlob in DBGrid1 could not be set.
    Line 53: Cannot load control DBGrid1; license not found. "

    Could some kind person tell me what step I'm forgetting?

    VB 6.0 no longer installs a number of the components found in previous versions. See the following:

    PRB: "License Information for This Component Not Found" Error
    http://support.microsoft.com/support.../Q177/7/99.ASP


    Paul ~~~ pclement@ameritech.net
    Microsoft MVP (Visual Basic)

  3. #3
    Judy Guest

    Re: Moving DBgrid32.ocx from VB5 to VB6

    Thanks for the link. The answer was... I forgot to use Vbctrls.reg on
    the cd.

    Now I know I can get my VB5 app to work under VB6. The next step is to
    see if I can get it all to work with Access 2000 now instead of Access
    97. I'm still fumbling around in the dark with what is now an
    "unrecognized database format" so you may very well see another
    "distress signal" in the near future.

    Thanks again for taking the time to point me to that link.

    Judy


    >
    > VB 6.0 no longer installs a number of the components found in previous versions. See the following:
    >
    > PRB: "License Information for This Component Not Found" Error
    > http://support.microsoft.com/support.../Q177/7/99.ASP
    >
    > Paul ~~~ pclement@ameritech.net
    > Microsoft MVP (Visual Basic)


  4. #4
    Join Date
    Aug 2005
    Posts
    3
    Quote Originally Posted by Paul Clement
    On Sun, 03 Sep 2000 12:08:18 -0700, Judy <jcoffman@sos.net> wrote:

    I'm moving my application (created with VB5) to a second computer which
    I have installed VB 6. (As a test to find out what will and won't work)
    My first problem is the DBGrid32.ocx. I moved three DBGrid32 files from
    my old
    system to the newer one and registered it using the Command line entry
    "RegSvr32 DBgrid32.ocx" and it acknowledged that it was registered. I
    also browsed to find and add it to the component library so that I could
    select it on the VB 6 machine but I'm still getting an error as soon as
    the form with the dbgrid is suppose to "show". ie. the line "form2.show"

    "Line 53: Property OleObjectBlob in DBGrid1 could not be set.
    Line 53: Cannot load control DBGrid1; license not found. "

    Could some kind person tell me what step I'm forgetting?

    VB 6.0 no longer installs a number of the components found in previous versions. See the following:

    PRB: "License Information for This Component Not Found" Error
    http://support.microsoft.com/support.../Q177/7/99.ASP


    Paul ~~~ pclement@ameritech.net
    Microsoft MVP (Visual Basic)
    Hi,
    I want to populate bound control DBGrid1 with the fields from a database table. I have dropped a data control Data1 and custom control DBGrid1 on a form and have as DatabaseName and RecordSource for the data control the database name and table I want displayed in the grid and as DataSource for DBGrid1 I have Data1 (the data control).
    Although a bound control the table is not shown in the grid. What can be wrong. The database is made in an earlier version of Visual Basic (3, 4 or 5).
    Second question: is it possible to use an ADO grid with earlier versions of the Access database or are there other grids I could use?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center