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

Get a shared default calendar folder with CDO



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old August 25th 06, 07:58 PM posted to microsoft.public.outlook.program_vba
Lucia
external usenet poster
 
Posts: 32
Default Get a shared default calendar folder with CDO

Hi,

I have no idea how to get a shared default calendar folder using CDO.

I tried at first with following code:

'Get the shared folder using Outlook Object Model
objFolder = objNS.GetSharedDefaultFolder(objRecip,
Outlook.OlDefaultFolders.olFolderCalendar)

'Get the CDO Folder object from Outlook Folder object
strEntryID = objFolder.EntryID
strStoreID = objFolder.StoreID
MsgBox(objSession.Name)
objCDOFolder = objSession.GetFolder(strEntryID, strStoreID)

But it doesn't work. objCDOFolder = Nothing....

Has anyone a solution??

thanks in advance

Lucia

 




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
Public Folder usage for shared Calendar? cynthia Outlook - Calandaring 5 August 25th 06 07:32 PM
wrong default date when creating meeting in shared calendar Xavier Outlook - Calandaring 1 April 11th 06 06:58 PM
How can I use a shared calendar as a default for multiple users? Erb Outlook - Installation 1 March 20th 06 08:46 PM
How can i default save contacts to a shared contact folder ? TasosVlachos Outlook - Using Contacts 1 January 23rd 06 04:56 PM
Shared Company Calendar not updating - Public Folder andy Outlook - Calandaring 3 January 12th 06 12:55 AM


All times are GMT +1. The time now is 12:56 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.