Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ADO - need sample connection code

Status
Not open for further replies.

bas

Programmer
Jan 13, 1999
41
US
I am new to ADO. Most of the samples I find are for Visual Basic.

I'm looking to rewrite the following VB snippet in C++.

oConn.Open "Driver={Microsoft Access Driver (*.mdb)};" & _
"Dbq=c:\somepath\mydb.mdb;" & _
"Uid=admin;" & _
"Pwd=;"

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top