Solved

VB Control TrueDBGrid

Posted on 1998-10-19
8
931 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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
 
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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Pull multiple cvs files into one access table 28 68
vb6 connector to mongodb 2 84
Zip Folders Using Chilkat Routines 1 40
VB6 - Scroll Mouse wheel on Picturebox 13 44
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 …
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

777 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