Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Microsoft Data Bound Grid 5.0 (SP3) Problem 1

Status
Not open for further replies.

cutesy

Programmer
Feb 16, 2002
4
SG
Hi, I used to be using Data Access Object (DAO) with Microsoft Data Grid Control 5.0 (SP3) whereby all the data from Access database are all presented in Data Grid Control 5.0.

However after I transffered all my program to another pc. My Data Grid control which I added to the form which I created my application can no longer be found, i.e. when I loaded the form during run, it keeps complaining:

Line 256: Property OleObjectBlob in recordGrid could not be set.
Line 256: Cannot load control recordGrid; license not found.

Why is this so??
It seems that when I install a copy of Visual Basic 6.0 Enterprise Edition in the other pc which I have this problem, the DBGrid32.ocx control cannot be found at all, so I tried to copy the control from the other pc(as well as from the Visual Basic CD-Rom) and load it into the pc and then added the control in the form, however it gives me this message:

License Information for this component not found. You do not have an appropriate license to use this functionality in the design environment. what can I do to resolve this prolem?

You are not a licensed user of the ActiveX control. This error has the following cause and solution:

You tried to place an ActiveX control on a form at design time or tried to add a form to a project with an ActiveX control on it, but the associated information in the registry could not be found.
The information in the registry may have been deleted or become corrupted. Reinstall the ActiveX control or contact the control vendor

How can I reinstall the ACtiveXControl so that I can use it together with DAO again in VB 6.0, can anyone please help. Thanks a million


 
I faced the same problem before. All i did was switching from Microsoft Data Bound Grid Control 5.0 (DBGRID32.OCX) to Microsoft DataGrid Control 6.0 (MSDATGRD.OCX). Surprisingly, the latter turned out to be a better choice. But some changes in your VB code are required in order for the control to work.

Do keep me posted if you find the solution.
 
I had the same problem with the common dialog control, I copy a new file and register with no success, if you find the way to "reinstall" please let me know
 
Some are these problems (The ones with Common Controls) are indeed licensing. You need to install VB5, which will add the license, and then VB6.

Or:

Remove all the component references for Microsoft Common Controls 5.0 (first you have to remove the components form your forms) and exchange them for Microsoft Common Controls 6.0

Or Best Choice:
Look for a program on the VB6 CD called PrjUpgd (I believe under \Tools). Run this program and it will update the components in your project from VB5 to VB6.

For the other controls I would uninstall VB6 completely and then do a reg clean with Norton or Fix-It utilities, and then re-install VB6.
 
I had the same problem with the Data Bound Grid Control, I Register This ActiveX Control By Double Clicking On Dbgrid.reg File Which Is In \\COMMON\TOOLS\VB\CONTROLS Path And The Problem Was Solved.
 
Thanks a lot.... I've been looking for the solution of this problem for 3 days now and I was really scared that I was going to create my form all over again [reading]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top