View Single Post
  #5  
Old February 17th 09, 05:58 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default How to get current folder

What is "newly created or it's old"? Is it 1 second old? 1 week old?
There is no such property.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Ashish" wrote in message
...
Thanks. Well i have one doubt which i want to clear. Is there any property
for a folder which tells the folder is newly created or it's old.
I handle the events for folder. When i create a new folder (suppose i
create a folder subinbox under Inbox folder) then first FolderChange
function call for Inbox, after that FolderAdd function call for subinbox.
How can i know Inbox is already created and subinbox i'm creating now.
there must be some property. I have checked all but could not find. Please
suggest.
"Dmitry Streblechenko" wrote in message
...
Search for IConnectionPointContainer etc.
Or use the wrapper classes created by VC++ when you import a type library
using #import.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Ashish" wrote in message
...
How to implement FolderEvents in c++.
FolderAdd

FolderChange

FolderRemove



Please give some example








Ads