![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#4
|
|||
|
|||
![]()
Does it hang if yu log to a profile that only has a PST store?
-- Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool - "Matt Williamson" wrote in message ... Most likely you still live MAPI objects used by CDO object at the time when you call Logoff. Does it owkr if you only have calls to Logon and Logoff with nothign in between? Try to to all CDO handling code into a separate sub: Set objCDOSession = CreateObject("MAPI.Session") objCDOSession.Logon... DoCDOStuff(objCDOSession) objCDOSession.Logoff This way all implecit variables (such as thouse created when yo uuse multiple dot notation) will be released when the DoCDOStuff sub above exits. Thanks for the reply Dmitry I tested it by calling Logon and then Logoff immediately following it. It still hangs. Here is my test Sub TestCDO() Dim objCDOSession As Mapi.Session Set objCDOSession = CreateObject("MAPI.Session") objCDOSession.Logon "", "", True, False 'objCDOSession.Logon "", "", True, True objCDOSession.Logoff Set objCDOSession = Nothing End Sub I also disabled all Add-ins and Com Add-ins and while Outlook loads a while lot faster, it hasn't alleviated the hang. Is there anything else you can think of? TIA Matt |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Detect logoff/shutdown | j | Add-ins for Outlook | 1 | July 21st 09 03:42 PM |
Outlook hanging | Eva | Outlook - Installation | 3 | August 20th 08 08:57 PM |
Outlook hanging | Gene | Outlook - Installation | 0 | October 2nd 07 04:41 PM |
Outlook hanging | John | Outlook - Installation | 2 | May 17th 07 10:34 PM |
to all with OE hanging | [email protected] | Outlook Express | 0 | September 3rd 06 05:26 AM |