CDO and MAPI error

S

Sharlene England

I was directed to an article regarding using Outlook from within Word.

When I tried to run the sample I got the following error:

" User defined type not defined " on this function statement
Public Function StartQuietSession(NoMailServices As Boolean) As
MAPI.Session

I did add a reference to both

Microsoft CDO for NTS 1.2 Library AND
Microsoft CDO for Windows 2000 Library

Which the microsoft site says is the equivalent to the CDO 1.21. I have
Outlook 2003 and no cdo.dll but do have cdosys.dll

Any suggestions?

Thanks alot.
 

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