ActiveX can't creat object?

  • Thread starter Thread starter Boki
  • Start date Start date
B

Boki

Hi All,

Dim myMail
Set myMail = CreateObject("CDONTS.NewMail")

it shows "ActiveX can't creat object" error message, what should I do?

Does that mean I have to add some .bas file?
Could you please advice?

Thank you very much!

Best regards,
Boki.
 
Hi Boki,

First, notice that this is a group for VB.NET, not for VB6 or VBScript.

That said, the CDONTS library is not installed on all Windows, only on
servers. There are two versions of CDO and some confusion. See:
http://www.outlookcode.com/d/cdo.htm

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com
 
Carlos J. Quintero [VB MVP] 寫é“:
Hi Boki,

First, notice that this is a group for VB.NET, not for VB6 or VBScript.

That said, the CDONTS library is not installed on all Windows, only on
servers. There are two versions of CDO and some confusion. See:
http://www.outlookcode.com/d/cdo.htm

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com

Hi Thanks a lot!

Best regards,
Boki.
 
Back
Top