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.
 

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

Back
Top