Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: Create appointment item in shared calendar

Geek News

Create appointment item in shared calendar
Adi <adityajain_bit[ at ]indiatimes.com> 11/24/2008 8:46:46 AM
Hi,

Is there a way to create and display appointment item in shared
calendar. The statement

Application.CreateItem(ItemType);

creates item in the default folder of the specified type. But I want
to create item programatically in the shared calendar of a specified
recipient and display it in the inspector window without actually
saving it.
Is there a way to do this?
Re: Create appointment item in shared calendar
"Ken Slovak - [MVP - Outlook]" <kenslovak[ at ]mvps.org> 11/24/2008 3:05:15 PM
If you have that folder as an Outlook MAPIFolder object get its Items
collection and use the Items.Add() method to add the new appointment to that
Items collection.

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


"Adi" <adityajain_bit[ at ]indiatimes.com> wrote in message
news:d150a152-d45f-4c9a-90af-1d04095ad3da[ at ]r10g2000prf.googlegroups.com...
[Quoted Text]
> Hi,
>
> Is there a way to create and display appointment item in shared
> calendar. The statement
>
> Application.CreateItem(ItemType);
>
> creates item in the default folder of the specified type. But I want
> to create item programatically in the shared calendar of a specified
> recipient and display it in the inspector window without actually
> saving it.
> Is there a way to do this?

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