Click here to Skip to main content
15,887,988 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,i am a green hand in database programming.Recently i have a problem in this filed.my database software is MS Acess2007 and my SDK is VS2007.so how can i connect the database using ADO.i have tried:
SQL
m_pConnection->Open("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=GPSInfo.mdb","","",adModeUnknown);

but it's not work because it was used in ACESS2000.How to set the connecting string??
Posted

1 solution

 
Share this answer
 
Comments
Dongyou Xiang 4-Feb-12 2:05am    
thanks
Amir Mahfoozi 4-Feb-12 4:10am    
+5

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