avatar
Problems on ACCESS + VB# Database - 数据库
d*t
1
My pc has Access 2000 and Visual Basic 6.0.
But, the .mdb file created in Access 2000 cannot be opened by using
"data control" in Visual Basic 6.0, even the "opendatabase" function.
The warning message is "Unrecognized Database Format".
Who knows why?
avatar
h*e
2
hmm.. didn't try Access 2000. does your dc work fine when connects
with Access97? maybe you need rebuild the connection...
btw, what driver or provider u used for the database connection?

【在 d********t 的大作中提到】
: My pc has Access 2000 and Visual Basic 6.0.
: But, the .mdb file created in Access 2000 cannot be opened by using
: "data control" in Visual Basic 6.0, even the "opendatabase" function.
: The warning message is "Unrecognized Database Format".
: Who knows why?

avatar
w*w
3
create ADO engine.

【在 h****e 的大作中提到】
: hmm.. didn't try Access 2000. does your dc work fine when connects
: with Access97? maybe you need rebuild the connection...
: btw, what driver or provider u used for the database connection?

avatar
a*a
4
Iremembered there was such a problem in VC6 MFC. sth to do with Access97
or Access2000 incompatibility. ultimately the solution was to install patch
of VC6. you might want to install VS6 SP5 (or SP6)?

【在 d********t 的大作中提到】
: My pc has Access 2000 and Visual Basic 6.0.
: But, the .mdb file created in Access 2000 cannot be opened by using
: "data control" in Visual Basic 6.0, even the "opendatabase" function.
: The warning message is "Unrecognized Database Format".
: Who knows why?

avatar
p*v
5

.
o? Could you please tell me more details? I am doing a project using
VC6 MFC and Access 2000.Maybe later we are going to use Oracle.So far there
is no problem,but I am interestin this issue. //Thanks.

【在 a*****a 的大作中提到】
: Iremembered there was such a problem in VC6 MFC. sth to do with Access97
: or Access2000 incompatibility. ultimately the solution was to install patch
: of VC6. you might want to install VS6 SP5 (or SP6)?

avatar
w*w
6
it should be no problem. But I heard that Access XP doesn't support DAO, so
your old code may have problems.

patch

【在 p*****v 的大作中提到】
:
: .
: o? Could you please tell me more details? I am doing a project using
: VC6 MFC and Access 2000.Maybe later we are going to use Oracle.So far there
: is no problem,but I am interestin this issue. //Thanks.

avatar
W*S
7
hiahiahia.
for access97, micro soft uses dao3.5 while access 2k use dao 3.6. simply add
dao360.dll in project and remove 350.dll. that's all. of course. in datacontrol
also should change the database to access2000.

【在 h****e 的大作中提到】
: hmm.. didn't try Access 2000. does your dc work fine when connects
: with Access97? maybe you need rebuild the connection...
: btw, what driver or provider u used for the database connection?

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。