Prev: Foto links into Outlook calendar
Next: Outlook 2003
From: senglory on 23 Mar 2010 20:02 I'm trying to create custom calendar in Startup handler in my VSTO. It creates successfully: [CODE] _ns = Me.Application.GetNamespace("MAPI") Me._colCalendar = _ns.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderCalendar) nf = Me._colCalendar.Folders.Add("MY CALENDAR NAME", Outlook.OlDefaultFolders.olFolderCalendar) [/CODE] but I don't see it in calendars list after Outlook showed up on my monitor. What's wrong to my code?
From: Brian Tillman [MVP-Outlook] on 23 Mar 2010 21:52 "senglory" <senglory(a)discussions.microsoft.com> wrote in message news:6F29658F-842C-459A-8036-88D41B39946F(a)microsoft.com... > I'm trying to create custom calendar in Startup handler in my VSTO. It > creates successfully: > > [CODE] > _ns = Me.Application.GetNamespace("MAPI") > Me._colCalendar = > _ns.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderCalendar) > nf = Me._colCalendar.Folders.Add("MY CALENDAR NAME", > Outlook.OlDefaultFolders.olFolderCalendar) > [/CODE] > > > but I don't see it in calendars list after Outlook showed up on my monitor. > What's wrong to my code? Ask in the programming group microsoft.public.outlook.program_addins -- Brian Tillman [MVP-Outlook]
|
Pages: 1 Prev: Foto links into Outlook calendar Next: Outlook 2003 |