N
nycboy
I added “Windows CDO for Windows 2000 Library” in
References and tried this code (It doesn't show
CDO version?)
(Code not work, error: “User defined type not defined”):
Public Sub CreateCDOSession()
Dim objCDO As MAPI.Session
Dim objCDOMsg As MAPI.Message
Set objCDO = CreateObject("MAPI.Session")
….
(Code had no compiler complain):
Public Sub CreateCDOSession()
Dim objMsg As Object
Set objMsg = CreateObject("CDO.Message")
…
1. Is there difference between Windows 2000 and XP
in terms of using CDO?
2. Did I used the right CDO version?
Thanks in advance!
References and tried this code (It doesn't show
CDO version?)
(Code not work, error: “User defined type not defined”):
Public Sub CreateCDOSession()
Dim objCDO As MAPI.Session
Dim objCDOMsg As MAPI.Message
Set objCDO = CreateObject("MAPI.Session")
….
(Code had no compiler complain):
Public Sub CreateCDOSession()
Dim objMsg As Object
Set objMsg = CreateObject("CDO.Message")
…
1. Is there difference between Windows 2000 and XP
in terms of using CDO?
2. Did I used the right CDO version?
Thanks in advance!