A2K compile problems in XP

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm running A2K on an xp home machine having recently
moved from millennium. when I try to compile code I get
the message cannot find file vba6.dll.

Why? what should I do?

Also very annoyingly I'm when I now open a form on top of
another, text in txtboxies reports error or text in list
boxes disappear.

I've been pulling my hair out for weeks trying to get my
head around this, can anyone help?
 
Hmm. That doesn't sound right. I would have expected it to be using
vbe6.dll.

Try re-registering the dll. Open a command prompt while Access is not
running, and enter something like this. It's all one line, and include the
quotes:
regsvr32 "c:\program files\common files\microsoft
shared\vba\vba6\vbe6.dll"

If that does not work, but you can create a new (blank) database that does
not give you this error, you could solve the problem by importing everything
from the old database into the new one:
1. Create a new database.
2. Turn off the Name AutoCorrect check boxes under: Tools | Options |
General.
3. Import (File | Get External | Import) the tables.
4. Import the other objects (queries, forms, reports, macros, modules.)
5. Set minimal References under Tools | References (from the code window).
6. Compile (Debug menu, from the code window).

More information on references:
http://members.iinet.net.au/~allenbrowne/ser-38.html
 
Back
Top