Re: CDO.Person problem

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Jay B. Harlow [MVP - Outlook] (Jay_Harlow_MVP_at_msn.com)
Date: 01/16/05


Date: Sun, 16 Jan 2005 12:10:53 -0600

Jason,
See the microsoft.public.dotnet.languages.vb newsgroup for my comments.

Hope this helps
Jay

"Jason" <jasonmwilkerson@hotmail.com> wrote in message
news:1105759860.257181.37150@c13g2000cwb.googlegroups.com...
>I am running Exchange 2003 on a Windows 2003 Active Directory.
>
>
> I am trying to mailbox-enable a user account with VB.NET.
> Dim person As CDO.Person
> Dim mailbox As CDOEXM.IMailboxStore
> person = New CDO.Person
> person.DataSource.Open("...")
> mailbox = person
> mailbox.CreateMailbox("...")
> It is failing on person = New CDO.Person. It gives me the following
> error:
> System.Runtime.InteropServices.COMException: COM object with CLSID
>
>
> {CD000107-8B95-11D1-82DB-00C04FB1625D} is either not valid or not
> registered.
>
> The Exchange System Manager is installed on this Domain Controller and
> I have manually copied cdo.dll, cdoexm.dll and cdoex.tlb to
> c:\windows\system32. I regsitered cdo.dll manually, but cdoexm.dll
> failed to register every time I tried.
> Does anyone have any suggestions? Thanks!
>



Relevant Pages

  • Modify existing script that creates mailboxes and users
    ... Dim strDCServerName 'As String ... ' Declare variables used for verifying the existance of the mailbox store ... '// Function: ValidateInput ...
    (microsoft.public.scripting.vbscript)
  • Re: Problem using NewMailEx
    ... it is a way of periodically checking the shared mailbox. ... Author of Microsoft Outlook 2007 Programming: ... Private Sub Application_NewMailEx ... Dim DeletedFolder As Outlook.MAPIFolder ...
    (microsoft.public.outlook.program_vba)
  • RE: Saving outlook attachments with VBA code
    ... I don't think it's an ID, it's just a mailbox in Outlook that only 5 people ... anything to the calendar, all emails I send appear in my personal sent items, ... The problem is the inbox I am trying to save the attached files from. ... Dim olApp As Outlook.Application ...
    (microsoft.public.excel.programming)
  • Re: EntryID problem
    ... You don't need an EntryID to log into a different mailbox using CDO 1.21. ... Dim iNumItems, iNumOwnItems As Integer ... If objItem.Class = olMail Then 'alleen echte emails vergelijken ... If objItem.ReceivedTime>= oudDatum Then 'alleen emails die ...
    (microsoft.public.outlook.program_vba)
  • Help with this script
    ... This is a script that creates a mailbox on an Exchange 5.5 box, ... Dim strAlias, strMTA, strMDB, strSMTPAddr, strDisplayName ... Dim objSec, objSD, objDACL, objAce ... Set objAce = CreateObject ...
    (microsoft.public.windows.server.scripting)