Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compile error - Can not find project or library

Status
Not open for further replies.

princessk1

Programmer
Feb 28, 2002
74
CA
When I compile my application to make an exe, I am getting the error:
'Can not find project or library'. It highlights the format
word on this line of code:

yr = format(dt,"yyyy").

This project has compiled before with no problem. All I changed was the server name in the connection string.

Any ideas?
 
Maybe it's a line above or below the highlighted one.

Elysium
 
Look in Project/References. Do you have:

Visual Basic For Applications
Visual Basic runtime objects and procedures
and
Visual Basic objects and procedures

all checked?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top