Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: Accessing Shared Tasks' Data

Geek News

Accessing Shared Tasks' Data
mohican 6/25/2006 2:18:01 PM
Hi

I am using outlook 2003 with exchange, and in my outlook I have setup access
to other users Shared Tasks.

How can I programatically access those tasks so I can to collect data from
them.

I am currently accessing the tasks that are in my 'Tasks' folder by doing:

ApplicationClass outLookApp2 = new ApplicationClass();
NameSpace outlookNS = outLookApp2.GetNamespace("MAPI");
MAPIFolder taskFolder =
outlookNS.GetDefaultFolder(OlDefaultFolders.olFolderTasks);

Any help on this would be much appreciated

cheers

mohican

Re: Accessing Shared Tasks' Data
"Sue Mosher [MVP-Outlook]" <suemvp[ at ]outlookcode.com> 6/25/2006 8:29:09 PM
Take a look at the Namespace.GetSharedDefaultFolder method.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"mohican" <mohican[ at ]discussions.microsoft.com> wrote in message news:98756F60-1658-4216-B3A2-1F715CFF1523[ at ]microsoft.com...
[Quoted Text]
> Hi
>
> I am using outlook 2003 with exchange, and in my outlook I have setup access
> to other users Shared Tasks.
>
> How can I programatically access those tasks so I can to collect data from
> them.
>
> I am currently accessing the tasks that are in my 'Tasks' folder by doing:
>
> ApplicationClass outLookApp2 = new ApplicationClass();
> NameSpace outlookNS = outLookApp2.GetNamespace("MAPI");
> MAPIFolder taskFolder =
> outlookNS.GetDefaultFolder(OlDefaultFolders.olFolderTasks);
>
> Any help on this would be much appreciated
>
> cheers
>
> mohican
>

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net