Re: CDO 1.21 and Outlook

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

From: Mike Lowery (selfspam_at_mouse-potato.com)
Date: 02/20/04


Date: Fri, 20 Feb 2004 11:39:14 -0800

I get this error if that line is commented/removed:

[Collaboration Data Objects - [MAPI_E_NOT_INITIALIZED(80040605)]]

"Andrew Cushen" <anonymous@discussions.microsoft.com> wrote in message news:1330b01c3f7df$3278efa0$a101280a@phx.gbl...
> Mike-
>
> Have you tried commenting out the logon line? You
> shouldn't need it if you're always logged into Outlook
> before the code runs.
>
> -Andrew
> ================================================
> >-----Original Message-----
> >I've got some code that creates a MAPI.Session object and
> then logs on to the Exchange mail server:
> >
> >Dim oSession As MAPI.Session
> >Set oSession = New MAPI.Session
> >oSession.Logon ProfileName:="MS Exchange Settings",
> NewSession:=False
> >
> >This is being done within Outlook using VBA. It works,
> but the problem is that the .Logon method takes about a
> half minute to
> >execute. Since I'm already logged in to Outlook using
> this profile, is there any way to attach the session to
> the existing session
> >instead of creating a new one? The NewSession:=False
> sounds like it does this, but the 30 second delay tells me
> otherwise (I
> >think?)
> >
> >Anyone know how to get rid of this delay?
> >
> >
> >
> >.
> >



Relevant Pages

  • Re: CDO 1.21 and Outlook
    ... Have you tried commenting out the logon line? ... >This is being done within Outlook using VBA. ... is there any way to attach the session to ... but the 30 second delay tells me ...
    (microsoft.public.outlook.program_vba)
  • Re: Question about Home PC connected to SBS via VPN....
    ... Outlook E-Mail, then using RWW for my other needs. ... > session to gain control of the PC at your office, or use a TS Apps server to ... Making the remote link is easier with RWW than creating a VPN and ... > the time you first authenticated and logon at the local machine. ...
    (microsoft.public.windows.server.sbs)
  • Re: Using Redemption in Integration Manager
    ... For Integration Manager to run, it needs to be run through GreatPlains. ... While the user is logged on to the Citrix machine under their domain logon, ... pop-up which is titled "Microsoft Office Outlook - Enter Password. ... And there is no such as thing as a profile password. ...
    (microsoft.public.outlook.program_vba)
  • Re: Calendar not syncing with Blackberry phone
    ... over to Administrator logon. ... I think that when I did the upgrade to the newer version, ... receives calendar information from Outlook. ...
    (microsoft.public.exchange.admin)
  • Re: Calendar not syncing with Blackberry phone
    ... It appears as though if your Services are starting up with a logon ... the account logons for me. ... receives calendar information from Outlook. ...
    (microsoft.public.exchange.admin)