Click here to Skip to main content
15,884,472 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
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.
Posted

1 solution

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.
 
Share this answer
 
Comments
adityarao31 2-Jul-12 2:11am    
I have seen that link ,but initial connection steps are not explained and I am
getting error there only,please help
adityarao31 2-Jul-12 2:17am    
I also want to learn how to use CDAORecordset,and not CDAORecordView
Chandrasekharan P 2-Jul-12 2:56am    
http://www.cppdoc.com/example/mfc/classdoc/MFC/CDaoRecordset.html. This gives you a complete documentation on CDaoRecordSet.
adityarao31 3-Jul-12 1:05am    
I think I am not successful in telling the problem I am facing,I am not having problem with CDaoRecordset class,I am getting error in wizard While adding MFC class which is inherited from CDaoRecordset in Add class wizard.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900