Solved

VB Control TrueDBGrid

Posted on 1998-10-19
8
936 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

 

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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
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.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

691 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