View Single Post
  #3  
Old June 17th 09, 07:45 AM posted to microsoft.public.outlook.program_addins
Ashish
external usenet poster
 
Posts: 94
Default Folder move event

sorry for mistake.
In outlook, When i move a folder from one folder to another folder then
following events called
folder_change and folder_add.
But folder_add does not show correct path for new folder.

Suppose under Inbox there is a folder "inbox_child".
When i move "inbox_child" under Drafts folder then folder_add events shows
following path for "inbox_child"
Inbox/inbox_child (i find this path by getting parent folder name of
"inbox_child", here "inbox_child" is argument in folder_add(mapifolder
inboxchildfolder)

While the path should be Drafts/inbox_child because "inbox_child" is moved
under Drafts oflder.

Is there some way to get the correct path.

"Ken Slovak - [MVP - Outlook]" wrote in message
...
There is no Folder.Move() event, what event are you talking about? What
version of Outlook? Please post enough specific information so someone can
answer your question.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Ashish" wrote in message
...
Folder move event does not give the correct path for folder name.
Suppose there is a under Inbox say inbox_Child.
In outlook when i move inbox_Child under draft folder then item_add event
is called which shows the path for inbox_Child as Inbox/inbox_Child(paren
name of inbox_Child is Inbox, it's not Drafts). While it should give
Drafts/inbox_Child.
Is there any way to get correct path.




Ads