Did you add a reference to Microsoft DAO 3.6 Object Library (or Microsoft
DAO 3.5 Object Library if going against databases created by Access 97)?
--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
"Laura" wrote in message
> Can anyone please help me to solve this problem I have
> when I tried to compile and run my program written in VB
> 6.0?
> Problem: I used variable declaration such as db as
> Database and ws as Workspace. I use ODBC way to connect my
> VB form interface with the back end Ms Access database.
> However, I got this error message saying--> "Compile
> Error: Project or Library not found!"
>