A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Delete Shared Task



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 10th 07, 10:55 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Delete Shared Task

It makes sense though that you can't delete it under those circumstances,
you assigned ownership of the item to someone else.

You can look at someone else's Navigation Pane only if you log into their
mailbox as them. Otherwise in Outlook 2003 the Navigation Pane stuff is
stored in an XML file based on the Outlook profile name plus some random
stuff stored in a hidden message in the hidden Common Views folder.

You can't use GetSharedDefaultFolder to get the Tasks folder and navigate
from there to Trash, you'll just get an error. That method doesn't give you
a folder with the full set of normal properties or store permissions. You'd
basically have to logout of that Outlook session and start a new session
logging into the other user's mailbox.

The alternative is if you open the mailbox as part of your profile. If it's
opened that way you can use NameSpace.Folders to iterate the open stores
until you get the other mailbox, then walk it's folder hierarchy to find the
Trash folder. But that won't work unless the mailbox is opened as part of
the profile.

In Outlook 2007 you could use NameSpace.Stores to get to the top of each
loaded store if you wanted that. That;s new for Outlook 2007 though.

--
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


"Job" wrote in message
...
Let's see, if you have UserA and UserB. UserB shares his tasks with UserA
and gives UserA ownership rights. UserA can delete UserB's tasks.
However, if UserA creates a new task and assigns it to UserB, the task now
changes it's properties somehow into a quasi email item and UserA cannot
delete that task from UserB. However, if UserB gives UserA editor rights
to UserB's Inbox, then UserA CAN delete the task which was assigned.
Since my last post I've spent two days on the phone with Outlook
developers from MS and they have indicated that it is an application
limitation.

So, if I can't delete it, maybe I can Move it to another folder in UserB's
tasks. So same scenario as above.

UserB gives permissions to UserA. UserB has a Tasks folder but has also
created a "Trash" folder in the tasks. My question earlier was how do I
access this "Trash" tasks folder on the UserB's machine?

Set Fldr2 = olNs2.GetSharedDefaultFolder _
(UserB, "Trash" folder in the tasks)

Can you look at the NavigationPane in the 'My Tasks' of UserB if you are
UserA?


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to delete a task request from inbox in outlook [email protected] Outlook - General Queries 0 March 8th 07 06:59 PM
How to delete a recurrent task with a blocked remove recurrence Dr Steve Outlook - Calandaring 0 August 10th 06 05:36 PM
How do I delete a Private appointment in a shared calendar? WendyN201 Outlook - Calandaring 1 June 13th 06 03:25 AM
Handling Task Item Delete Event AtulSureka Outlook - Using Forms 0 January 24th 06 10:25 AM
Delete / archive old entries in shared calendar in public folder Slam Outlook - Calandaring 1 January 18th 06 10:08 PM


All times are GMT +1. The time now is 11:11 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.