PC Review


Reply
Thread Tools Rate Thread

How to add Outlook.TaskItem to already existing Outlook.Items?

 
 
New Member
Join Date: Apr 2009
Posts: 3
 
      2nd Apr 2009
Hi, I've looked all over the internet and could not find an answer for this one...

Basically, what I want to do is to retrieve all the TaskItems from all the Tasks folders and put them into one single Outlook.Items list. I know how to look at all the folders and how to retrieve the tasks from these folders, but i don't know how to put together all the tasks I retrieve.

So, I have some Outlook.Items that i get from a folder like this:

Outlook.MAPIFolder outlookTasksFolder = Application.Session.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderTasks);

Outlook.Items outItems = outlookTasksFolder.Items;

Then, I'd like to add a TaskItem to outItems.

Anyone knows how to do that?
Thank you
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get Microsoft.Office.Interop.Outlook.TaskItem from the IUnknown (C#) Godandag Microsoft Outlook Program Addins 5 5th Apr 2007 09:39 AM
How to Update Existing Items in an Outlook Folder to Use a New Cus =?Utf-8?B?bWF0dGlh?= Microsoft Outlook Contacts 1 26th Sep 2006 09:28 PM
outlook taskItem entryID problem =?Utf-8?B?cHBwMDE=?= Microsoft Outlook VBA Programming 1 2nd Dec 2005 01:47 PM
how to get existing items to be used by new forms (outlook 2003) =?Utf-8?B?bW9oZA==?= Microsoft Outlook Contacts 1 5th Jul 2005 12:22 PM
Outlook/VBScript: I want to retrieved EntryID from TaskItem class JayEff Land Microsoft Outlook 2 6th May 2004 08:46 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:57 AM.