Conversion of '97 version to 2002

G

Guest

I am trying to convert an Access'97 application to Access 2002. When I load in the application in 2002, I get the message "The Visual Basic for Applications project in the database is corrupt". What does this error mean, and can I determine where it is occuring? The application works perfectly in Access '97.
 
J

John Vinson

I am trying to convert an Access'97 application to Access 2002. When I load in the application in 2002, I get the message "The Visual Basic for Applications project in the database is corrupt". What does this error mean, and can I determine where it is occuring? The application works perfectly in Access '97.

It's got to be compiled, and compiled flawlessly in A97. I'd suggest
using A97 to Decompile the database: from a command prompt or the
Start... Run window type

"C:\<path to A97 Access>\msaccess.exe" "X:\path to your
database\mydata.mdb"/Decompile

Then open the database in A97; Compact it; open the VBA editor and
Compile; compact once again.

Now try conveting this "cleaned up" database.
 

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