If I remember right, the connection string is following:
"Driver= {MicrosoftAccessDriver(*.mdb)}; DBQ=" & server.mappath("Record.mdb") & "; Uid=Username; Pwd=Password;"
One way to use MySQL in VB6 is to get MySQL ODBC driver (from MySQL site). The connection string is following:
"DRIVER={MySQL ODBC 3.51 Driver}; SERVER=127.0.0.1; DATABASE=MySample; UID=UserName; PWD=Password"
You may find a never ODBC driver than version 3.51
Reputation Points: 218
Solved Threads: 201
Veteran Poster
Offline 1,024 posts
since Aug 2008