Solved

VB Control TrueDBGrid

Posted on 1998-10-19
8
930 Views
Last Modified: 2013-12-25
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?
0
Comment
Question by:Bentie
  • 5
  • 3
8 Comments
 

Author Comment

by:Bentie
ID: 1487806
Edited text of question
0
 

Author Comment

by:Bentie
ID: 1487807
Adjusted points to 50
0
 
LVL 3

Accepted Solution

by:
TheAnswerMan earned 50 total points
ID: 1487808
TDBG16.OCX   or 32..

What is your error message?
Is this a REgistered Version from the Company, or is it just an OCX from another computer.?   if so.. you will need the license file.
0
 

Author Comment

by:Bentie
ID: 1487809
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.

0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 3

Expert Comment

by:TheAnswerMan
ID: 1487810
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>
 
 

0
 

Author Comment

by:Bentie
ID: 1487811
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.
0
 
LVL 3

Expert Comment

by:TheAnswerMan
ID: 1487812
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.
0
 

Author Comment

by:Bentie
ID: 1487813
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.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now