Hello,
I'm trying to modernize a rather old database (I think someone put this together around 2000, and we're still running Access 97.)
I'm not entirely certain that any of the buttons on forms and such have used "actual" code, I think they're all running on Macros.
Now, I'm just starting to try adding buttons that will use code, and even simply adding a button that would use: Msgbox ("Hi") gives me the error, "File not found: VBA6.DLL"
I've checked the references, and for "Visual Basic For Applications", which is checked, the path says "C:\WINNT\system32\MSVBVM60.DLL". I cannot uncheck it, or select the other "Visual Basic for Applications" which has a path to VBE6.DLL. I've also tried running Regsvr32.EXE "C:\Program Files\Common Files\Microsoft Shared\VBA\VBA6\VBE6.DLL", which is a common fix suggested, and it says that it executes the command correctly, but it doesn't fix my problem. When I create a brand new database, I am able to code just fine, but the References are now using "VBA332.DLL"
I can't get this database to even display a messagebox, nevermind do anything else in code. Any ideas?