Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Visual Basic RDO Connection MySQL Error 429

Posted on 2004-08-03
2
Medium Priority
?
1,112 Views
Last Modified: 2013-12-25
I am currently trying to access a MySQL database in a VB6 app.  I have installed MySQL ODBC Driver 3.51 and created an ODBC linking to the table.  The code below is the code that is generating the error.

Dim cnMySql as new rdoConnection
..........
cnMySql.CursorDriver = rdUseOdbc
..........

I get an error when I try to call the cnMySQL object (error below)  

Run-Time error '429'
ActiveX Component can't create object.  

I thought that this may be a registration problem.  So I ran regsrv32 c:\winnt\system32\myodbc3.dll

I get the following message.

c:\winnt\system32\myodbc3.dll was loaded but the DllRegisterServer entry point was not found.  DllRegisterServer may be exported, or a corrupt version of myodbc3.dll may be in memory.  Consider using PVIEW to detect and remove it.

I am new to dll registration so I don't know if this file does not need to be registered or if maybe something is wrong with the dll.

Thank you,


0
Comment
Question by:nkjohnson
[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
2 Comments
 
LVL 29

Accepted Solution

by:
leonstryker earned 1500 total points
ID: 11704996
Can you create an OBDC DSN to MySQL from the Start/Settings/Control Panel/Data Sources (ODBC)?

This would act as a test to see if your dll is registered correctly.

BTW, why are you using RDO?  It is an outdated technology.

Leon
0
 

Author Comment

by:nkjohnson
ID: 11705709
The ODBC connection is fine.  You are correct RDO is outdated, and I am currently looking into ADO.  I have actually already created a connection that does not have a problem.

Thanks for your help.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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 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…
Suggested Courses

730 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