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!

Failed to create the Visual Basic Module; Can't find project or lib

Status
Not open for further replies.

paulorlowski

Programmer
Jul 10, 2001
56
US
When I finish using the wizard to add a close button to a form, I get the error message: "Failed to create the Visual Basic Module". When I cancel then go back and look at the event for the button, there is no code, but I get another message: "Can't find project or library."

If I try to write some code in a module I get: "This action will reset your project." and then "Can't perform requested operation."

My Tools > References lists
Visual Basic For Applications
Microsoft Access 9.0 Object Library
Microsoft DA
OLE Automation
utility
Microsoft Visual Basic for Applications Extensibility 5.3

The same as every other working PC. No ERROR indicators.

I copied in the C:\Program Files\Common Files\Microsoft Shared\VBA\ folder from another PC.

Microsoft Knowledge lists the error for Access 2002 as a replication issue, but we have Access 2000.
This error doesn't happen at any other PC's on our Windows 2000 network, Windows 2000 professional stations using Access 2000.

Ideas?
Paul
 
It sounds to me that you are not shutting off the debugger before you begine to change code. Then is seems to sometimes save the code you have just changed but many times it goes to the GREAT BITBOX in the SKY.

rollie@bwsys.nst
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top