假如您不想装,也可以这样解决Intrinsic Data Control Is Usable with Access 2000 Databases See AlsoAt design time, trying to bind the Data control to a Microsoft Access 2000 database will result in an error: "Unrecognized database format." The Data control can still be used, however, by following the example below: On the Project menu, click References. Clear the Microsoft DAO 3.51 Object Library check box. Set a reference to the Microsoft DAO 3.6 Object Library. Draw a Data control and a TextBox control on a form. On the Properties window, set the TextBox control's DataSource property to the Data control. Type the name of the field CompanyName into the DataField property box. Insert code similar to the following into the code window: Option Explicit Private daoDB36 As Database Private rs As Recordset Dim sPath As StringPrivate Sub Form_Load() sPath = _ "C:\Program Files\Microsoft Office\Office\Samples\Northwind.mdb" Set daoDB36 = DBEngine.OpenDatabase(sPath) Set rs = daoDB36.OpenRecordset("Customers") Set Data1.Recordset = rs End SubRun the project.
http://download.microsoft.com/download/vstudio60ent/SP5/Wideband-VB/WIN98Me/CN/VS6sp5VB.exe
哪儿有这方面的文章呀
See AlsoAt design time, trying to bind the Data control to a Microsoft Access 2000 database will result in an error: "Unrecognized database format." The Data control can still be used, however, by following the example below: On the Project menu, click References. Clear the Microsoft DAO 3.51 Object Library check box.
Set a reference to the Microsoft DAO 3.6 Object Library.
Draw a Data control and a TextBox control on a form.
On the Properties window, set the TextBox control's DataSource property to the Data control.
Type the name of the field CompanyName into the DataField property box.
Insert code similar to the following into the code window:
Option Explicit
Private daoDB36 As Database
Private rs As Recordset
Dim sPath As StringPrivate Sub Form_Load()
sPath = _
"C:\Program Files\Microsoft Office\Office\Samples\Northwind.mdb"
Set daoDB36 = DBEngine.OpenDatabase(sPath)
Set rs = daoDB36.OpenRecordset("Customers")
Set Data1.Recordset = rs
End SubRun the project.
http://www.richis.com.cn/jxtote/Jet40SP5_9xNT.exehttp://www.richis.com.cn/jxtote/Jet40SP5_W2K.exehttp://www.richis.com.cn/jxtote/Jet40SP5_Me.exehttp://www.richis.com.cn/jxtote/dcom98.exehttp://www.richis.com.cn/jxtote/mdac_typ.exe
其DAO 3.51是打不开Access 2000数据库的您可以尝试一下
1. 新建一个工程
2. 添加一个Data Control在任何一个窗体
3. 工程->引用
4. 看您的VB引用了什么版本的DAO
赫赫,一个临时目录
现在,www.myvc.net将为大家提供一个资源下载的空间!第一批将提供<三层结构源代码>
<开发文档模版>两项。
需要者可去以下网址留下email
http://www.myvc.net/dispbbs.asp?boardID=16&RootID=658&ID=658&page=1
我们也提供资源上传的空间,如果你愿意和大家分享你的资源,你可以和www.myvc.net联系