Compile Error

L

Laura

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!"
 
O

One Handed Man

Sorry Laura, this is not the VB6 newgroup, this is VB.NET
--
Regards - One Handed Man

Author : Fish .NET & Keep .NET
=========================================
This posting is provided "AS IS" with no warranties,
and confers no rights.
 
H

Herfried K. Wagner [MVP]

Laura said:
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!"

This is a VB.NET language group. Please turn to one of the
microsoft.public.vb.* or microsoft.public.vb.database[.*] groups instead.
 
M

Mark Pearce

Hi Laura,

While this is a VB .NET newsgroup rather than a VB6 newsgroup, it sounds as
though you haven't set a project reference to the DAO object library (which
contains the Database and Workspace types). From the Project > References...
menu item, select the installed version of the "Microsoft DAO object
library", probably 3.51 or 3.6.

HTH

Mark
--
Author of "Comprehensive VB .NET Debugging"
http://www.apress.com/book/bookDisplay.html?bID=128


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!"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top