Solved

VB Control TrueDBGrid

Posted on 1998-10-19
8
933 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
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB6 Compile Compatibility Issue 4 115
VB6 ListBox Question 4 49
Export PDF Form fields to Access  or Excel  in Tab order 16 80
checkbox to hide entire section 10 42
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…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

831 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