"Error in Loading DLL" when opening Access2000

A

Alan

I developed an access2000 database on a Windows98 machine.
Then moved the .mdb file to Windows2000 machine with
Access2000. All worked just fine. I made a few
improvements and copied the .mdb file back to the Windows98
machine. When I open the database I get "Error in Loading
DLL". The window banner of the error says "Microsoft
Visual Basic". I'm still able to open the forms, tables,
and reports, but I can't use the "Switchboard" form.

Any ideas?

Alan
 
G

Guest

What code? I didn't write any code. If I move the file
back to the Windows2000 machine, all is well.
 
T

TC

Try & find the line of code on which the error occurs. For example, put
"msgbox 11" and "msgbox 99" at the start and end of Form_Load (if it has
that event). If you see 11, then 99, then the DLL error, you know that it is
occuring >after< form_load, so just refine your tests accordingly.

HTH,
TC
 
A

Alan

I'm Sure it does. How do I find/open it? WHen I go into
Design View it just shows the layout of the "Sitchboard".
I see no code. Where do I look?
 
T

TC

You say that you can't use the Switchboard form. Surely the Switchboard form
contains some code?

TC
(off for the day)
 
T

TC

Open the form in design view. Then look at the toolbar buttons across the
top of the screen. One of them will take you to the "code module" for the
form. That's where all of the Visual Basic For Applications (VBA) code
resides, for that form.

HTH,
TC
 

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