Question
January 28, 2008 at 10:20 PM
kanchan.doke

Getting error while connecting acess database to VB6

by kanchan.doke . Updated 18 years, 9 months ago

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”)

This discussion is locked

All Comments