Folder Fields

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi People,

My program creates a new MAPIFolder then proceeds to populate it with
MailItems that will later be manually Sent to the Outbox folder.
The trouble is, my newly created MAPIFolder's explorer shows the "From"
field, but I need it to show the "To" field instead.
I know I can manually change the displayed fields using "Customize Current
View" and also "Field Chooser" from the right-click menu, but I need to do
this programmatically. Can anyone show me how ?


Regards,
Vic Eldridge
 
In Outlook 2002 and 2003, you can control the fields dipslayed in a view by working with the View.XML property. MSDN has articles at http://msdn.microsoft.com/library/en-us/dnout2k2/html/ODC_CustomViews.aspand http://msdn.microsoft.com/library/en-us/dnout2k2/html/ODC_XMLViewDef.asp See http://www.outlookcode.com/threads.aspx?forumid=4&messageid=19 for additional sample code.

Outlook 2007 has a whole new set of much more easily used view objects.
--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Thankyou Sue.

Sadly though, I'm stuck with Outlook 2000. Looks like I'll be spending the
rest of the week clicking and dragging.

Thanks again,
Vic Eldridge
 
Back
Top