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

Tags: , , , , , , ,

MAPIFolder.FullFolderPath fails on shared mailbox folder until accessed by Outlook manually





 
 
Thread Tools Display Modes
  #1  
Old October 2nd 06, 04:35 PM posted to microsoft.public.outlook.program_vba
Jeff
external usenet poster
 
Posts: 30
Default MAPIFolder.FullFolderPath fails on shared mailbox folder until accessed by Outlook manually

I'm working with Outlook 2003.

I've created a tree control using Outlook and Redemption COM objects
manipulated via C#. The tree control is an attempt to clone the tree
control as seen in the Select Folder(s) dialog in Outlook. My clone
uses the MAPIFolder.FullFolderPath property to keep track of the tree
structure.

It works reasonably well while browsing my inbox and Exchange public
folders. It does NOT work when displaying the contents of a shared
mailbox.

The FullFolderPath property fails on folders in a shared mailbox until
I manually go into Outlook 2003, open the Folder List view, browse to
the shared mailbox, and expand the folder tree of that mailbox to the
folder that I'm trying to browse to in my clone. After I do that, I can
use my tree control to browse to the folder in the shared mailbox and
the FullFolderPath property does not fail.

I assume this is caused by Outlook being lazy about when it reads the
contents of the shared mailbox folder structure.

Any ideas or comments on this behavior?

Thanks,
Jeff

Ads
  #2  
Old October 2nd 06, 04:45 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 3,778
Default MAPIFolder.FullFolderPath fails on shared mailbox folder until accessed by Outlook manually

Try accessing not only that store but also folders in it to try to get it
fully opened before you try to access the paths for your code. It also works
much better if the delegate mailbox is opened as part of your Outlook
profile and not from File, Open.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Jeff" wrote in message
ups.com...
I'm working with Outlook 2003.

I've created a tree control using Outlook and Redemption COM objects
manipulated via C#. The tree control is an attempt to clone the tree
control as seen in the Select Folder(s) dialog in Outlook. My clone
uses the MAPIFolder.FullFolderPath property to keep track of the tree
structure.

It works reasonably well while browsing my inbox and Exchange public
folders. It does NOT work when displaying the contents of a shared
mailbox.

The FullFolderPath property fails on folders in a shared mailbox until
I manually go into Outlook 2003, open the Folder List view, browse to
the shared mailbox, and expand the folder tree of that mailbox to the
folder that I'm trying to browse to in my clone. After I do that, I can
use my tree control to browse to the folder in the shared mailbox and
the FullFolderPath property does not fail.

I assume this is caused by Outlook being lazy about when it reads the
contents of the shared mailbox folder structure.

Any ideas or comments on this behavior?

Thanks,
Jeff


 




Thread Tools
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
No longer possible to manually move email msg. to a new Folder Pappion Outlook Express 2 October 4th 06 02:18 PM
No longer possible to manually move email msg. to a new Folder Pappion Outlook Express 2 October 2nd 06 02:45 PM
Accessing shared mailbox from outlook 2003 using IMAP mail4amar@gmail.com Outlook - General Queries 1 May 4th 06 10:09 PM
Outlook 2003 Shared mailbox notification sounds Hawkz Outlook - General Queries 1 March 21st 06 03:42 AM
Shared mailbox - autoarchive settings DMAC Outlook - Installation 2 February 28th 06 07:25 AM


All times are GMT +1. The time now is 03:35 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2008 Outlook Banter, part of the NewsgroupBanter project.
The comments are property of their posters.
MPAA - MPAA - Personal Car Finance - Jokes - Babb Fest