Solved

Visual Basic RDO Connection MySQL Error 429

Posted on 2004-08-03
2
1,109 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 500 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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

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…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…
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…
Suggested Courses
Course of the Month11 days, 8 hours left to enroll

623 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