Link to home
Start Free TrialLog in
Avatar of Bentie
Bentie

asked on

VB Control TrueDBGrid

I am trying to register the control TDBGs16.OCX, however, I keep getting a failure.  Do you know what dll's are required for this control?
Avatar of Bentie
Bentie

ASKER

Edited text of question
Avatar of Bentie

ASKER

Adjusted points to 50
ASKER CERTIFIED SOLUTION
Avatar of TheAnswerMan
TheAnswerMan

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Bentie

ASKER

The error received when attempting to register TDBGS16.OCX is the following:
LoadLibrary("c:\windows\system\tdbgs16.ocx") failed.  GetLastError returns 0x0000001f.


I believe the OCX is just an OCX from another computer. Would you by chance know the name of the license file, so that I may search for it?

Thanks.

heh... you cant do that..  
I beleive it is registered when you install your TrueGrid From Installation.  
Without the license file anyone who runs a program with true gird on it..   will be able to run True Grid in their development environment <without paying>
 
 

Avatar of Bentie

ASKER

I am upgrading an existing application from VB4.0 to VB6.0.  The existing application uses the tdbgs16.ocx.  When I run regsvr c:\windows\system\tdbgs16.ocx, I receive the message DllRegisterServer in c:\windows\system\tdbgs16.ocx succeeded.  However, when I attempt to open the project which uses the OCX, I get the error indicating that the tdbgs16.ocx could not be successfully loaded into the project. When it gives this message, it references the OCX in the directory in which the application resides.  I actually registered the copy in c:\windows\system\).  The OCX does not reside in the same directory as the application, although I have tried moving it.  Do you have any ideas as to what else could potentially keep the OCX from loading into the project?  I can not successfully add the OCX as a component to the project ... it claims that the OCX is not registered as an Active X Component.

I understand that I need to ideally find the original software and license file and re-install the OCX.   Do you know the naming convention for license files?  If I do in fact have to purchase another copy of the OCX, I imagine I would need to upgrade to True DBgrid Pro 5.0.

Any feedback is welcome.  Thank you in advance for your help.
I think it is that the liscence key is haunting you..

Hoever.. since it IS saying that it can not register is as an active component..  then it might be that you can load that as it is a 16 bit component.   cant you get ahold of the 32 compontent?  the installation asks you if you want to load 16,32, or both on your machine.
Avatar of Bentie

ASKER

Thanks for your help.

I had to install the TrueDB 4.0 in order to updgrade to TrueDB 5.0.  I did not in fact have the license file for the 4.0 version.