Problem with cdosys.dll

N

Neil Ginsberg

I am using VBA/Access to send SMTP mail using CDO. I set a reference to
"Microsoft CDO for Windows 2000 Library" (cdosys.dll). Everything works
fine, both on my PC and on another PC. However, on another PC that the
database was installed on, the user is getting the message, "The project
contains a missing or broken reference to the file 'CDO.DLL' version 1.21."
However, I don't have a reference to cdo.dll; my reference is to cdosys.dll.
The user has cdosys.dll, but doesn't have cdo.dll.

Any ideas as to what's going on?

Thanks!

Neil
 
R

Ron Weiner

Have you tried the CDO library using Late binding instead of making a
reference and Early binding?

Dim objCDOConfig As Object, objCDOMessage As Object
Set objCDOConfig = CreateObject("CDO.Configuration")
Set objCDOMessage = CreateObject("CDO.Message")

If this doesn't work than that users machine is broken and incapable of
using CDO. You can then start the debuging process for that one machine
(try re-registering the dll with RegServ32.exe etc).

Ron W
 
D

Dr. Know

Neil Ginsberg said:
I am using VBA/Access to send SMTP mail using CDO. I set a reference to
"Microsoft CDO for Windows 2000 Library" (cdosys.dll). Everything works
fine, both on my PC and on another PC. However, on another PC that the
database was installed on, the user is getting the message, "The project
contains a missing or broken reference to the file 'CDO.DLL' version 1.21."
However, I don't have a reference to cdo.dll; my reference is to cdosys.dll.
The user has cdosys.dll, but doesn't have cdo.dll.

Is this is Windows 2000 machine? I believe it is required for CDOSYS.
Is CDOSYS.DLL properly registered?

I (knock on wood) haven't had any problems using CDOSYS on numerous
machines.


Dr. Know
 

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