Getting error while connecting acess database to VB6
i'm coneecting a database to vb thr' followng code. but i get error unrecognized databse format....
can any one tell wat's the problem ....
Dim db As Database
Set db = OpenDatabase("E:\VB\auto_mail\employees.mdb")
Dim rs As Recordset
Set rs = db.OpenRecordset("select * from emp_data")