ActiveX can't creat object?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Boki

    #1

    ActiveX can't creat object?

    Hi All,

    Dim myMail
    Set myMail = CreateObject("C DONTS.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.

  • Carlos J. Quintero [VB MVP]

    #2
    Re: ActiveX can't creat object?

    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:
    Create personalized and dynamic email templates in Outlook for Windows, Mac, and web and share them across devices and teams.


    --

    Best regards,

    Carlos J. Quintero

    MZ-Tools: Productivity add-ins for Visual Studio
    You can code, design and document much faster:
    MZ-Tools has a single goal: To make your everyday programming life easier. As an add-in to several Integrated Development Environment (IDEs) from Microsoft, MZ-Tools adds new menus and toolbars to them that provide many new productivity features.



    "Boki" <bokiteam@ms21. hinet.net> escribió en el mensaje
    news:1148973587 .805908.85700@g 10g2000cwb.goog legroups.com...[color=blue]
    > Hi All,
    >
    > Dim myMail
    > Set myMail = CreateObject("C DONTS.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.
    >[/color]


    Comment

    • Boki

      #3
      Re: ActiveX can't creat object?


      Carlos J. Quintero [VB MVP] 寫道:
      [color=blue]
      > 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
      >
      >
      > "Boki" <bokiteam@ms21. hinet.net> escribió en el mensaje
      > news:1148973587 .805908.85700@g 10g2000cwb.goog legroups.com...[color=green]
      > > Hi All,
      > >
      > > Dim myMail
      > > Set myMail = CreateObject("C DONTS.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.
      > >[/color][/color]

      Hi Thanks a lot!

      Best regards,
      Boki.

      Comment

      Working...