如何在VC ++ 6.0中建立DAO连接? [英] How to make DAO connection in VC++ 6.0 ?
问题描述
当我添加类型为MFC的新类并将基类指定为CDaoRecordset并单击确定"时,
向导将打开数据库选项"对话框,选择"DAO"单选按钮.当我选择Data.mdb文件时,它给出错误
无法识别的数据库格式.我的文件没有损坏,因为odbc连接正常.但是要避免创建DSN,我想
DAO连接.我是否需要安装任何东西才能使DAO连接成为可能?如果是,我在哪里可以得到它.
我有VC ++ 6.0和Access2000.
when I added new class of type MFC class and given base class as CDaoRecordset and clicked ok,
Wizard opens Database option dialog box ,selecting DAO radio button. When I selected Data.mdb file,it gives error
Unrecognized Database format. My file is not corrupt ,as odbc connectivity works fine. But to avoid DSN creation I want
DAO connectivity. Does I have to install anything,so that DAO Connectivity is possible ?if yes where can I get it.
I have VC++ 6.0 and Access 2000.
推荐答案
有很多站点可以指导您完成此任务
请查看此链接[
There are so many sites that can guide you get this done
Please have a look at this link [^]
It really does not take so much time to Google once before sending a query here.
All the best.
这篇关于如何在VC ++ 6.0中建立DAO连接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!