Initial View of a Public folder

A

Artem

How can I set the Initial View of a Public folder
programmatically?

I can't find a property for this on Folder or View objects.

-A
 
S

Sue Mosher [MVP-Outlook]

I dug just a little bit with Outlook Spy: Two MAPI properties seem to be
related to this -- PR_DefaultViewEntryID (0x36160102) and
PR_FOLDER_XVIEWINFO_E (0x36E00102), both binary in OL2003. As MAPI
properties, they cannot be set with the Outlook object model, but you can
access them with Redemption or CDO. See http://www.cdolive.com/cdo10.htm if
you're not familiar with MAPI property tags.
 
G

Guest

What if I use CurrentView property and set the current
view (not use the initial view)?

Is that view going to be seen by users or it will be set
only for me?
-----Original Message-----
I dug just a little bit with Outlook Spy: Two MAPI properties seem to be
related to this -- PR_DefaultViewEntryID (0x36160102) and
PR_FOLDER_XVIEWINFO_E (0x36E00102), both binary in OL2003. As MAPI
properties, they cannot be set with the Outlook object model, but you can
access them with Redemption or CDO. See
http://www.cdolive.com/cdo10.htm if
 
G

Guest

Thanks for your quick response. For now I went with the
old fashioned way (manually), but will try the CDO in the
future.

-A
 

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

Top