M
matro
hi there,
I want to look for specific folders at Outlook startup.
I have a code which looks for specific folders giving their ID:
Set myFolder = oAppNS.GetFolderFromID(folderID)
this code is fired on the following event:
IDTExtensibility2_OnStartupComplete
this works for POP, but I sometimes have problems with MAPI and often
with IMAP: myFolder contains Nothing even if folderID is a valid MAPI
folder ID.
I think the problem is that IMAP (and sometimes MAPI) folders are not
refreshed with related servers yet, thus they are not ready.
if this is true, my question is: can you tell me *when* I'd be able to
look for folders? is there any event after the OnStartupComplete or
any other valid event?
thank you.
--------
Francesco "Matro" Martire
available at www.realpopup.it:
RealPopup, the freeware winpopup replacer
RealAccount, freeware plugin for MS Outlook XP
MaTreo, freeware frontscreen for your Treo and PalmOS devices
I want to look for specific folders at Outlook startup.
I have a code which looks for specific folders giving their ID:
Set myFolder = oAppNS.GetFolderFromID(folderID)
this code is fired on the following event:
IDTExtensibility2_OnStartupComplete
this works for POP, but I sometimes have problems with MAPI and often
with IMAP: myFolder contains Nothing even if folderID is a valid MAPI
folder ID.
I think the problem is that IMAP (and sometimes MAPI) folders are not
refreshed with related servers yet, thus they are not ready.
if this is true, my question is: can you tell me *when* I'd be able to
look for folders? is there any event after the OnStartupComplete or
any other valid event?
thank you.
--------
Francesco "Matro" Martire
available at www.realpopup.it:
RealPopup, the freeware winpopup replacer
RealAccount, freeware plugin for MS Outlook XP
MaTreo, freeware frontscreen for your Treo and PalmOS devices