VBGood网站全文搜索 Google

搜索VBGood全站网页(全文搜索)
首页 - 经验之谈 - 从数据控制中的“class 没有注册”原因得到的启发
发表评论(0)作者:不详, 平台:VB6.0+Win98, 阅读:14011, 日期:2001-03-29
Revealing the cause of the Data Control注释:s "Class not registered" error

When you use the Data Control in a Visual Basic project, keep in mind
that in the very depths of its source code, this OCX uses DAO 3.5 to
provide an interface to the data. Many of you have reported the
following error when installing an application with the Data Control
on a new machine:

Class not registered:
Looking for object with CLSID:{ 00000010-0000-0010-8000-00AA006D2EA4}

In essence, this error results because VB can注释:t find the DAO 3.5
object library on the target machine. This can occur if the PC has
Microsoft Data Access Components 2.1 or later installed. MDAC 2.1
fails to assign the proper registry settings pointing to DAO 3.5.
Microsoft provides several knowledge base articles to help you fix
these missing settings.

Q213846 INFO: Deploy Database Applications with the Package and Deployment Wizard (PDW)
Q240377 HOWTO: Ensure Jet 3.5 Is Installed Correctly