Outlook 2003 add in - public folder question.



Hi All,

Doing some work with outlook 2003 and attempting to browse over the
folders available to the user. I want to start at the top of their
public folders and will eventually drill down.

NameSpace outlookNS = applicationObject.GetNamespace("MAPI");
MAPIFolder topFolder =

I call the above 2 lines of code, and get an exception "The operation
failed. An object could not be found" over the second line. The code
works fine if I change the value of olPublicFoldersAllPublicFolders to
say something like olFoldersInbox.

Anyone have any ideas why this may be so? All samples I've seen on the
net seem to indicate I'm coding it correctly..


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question