define views

  • Thread starter Thread starter Shashi Bhosale
  • Start date Start date
S

Shashi Bhosale

Hi
how we can define views for outlook programatically use them ?

Thanks, Shashi
 
You can define views using XML for Outlook 2002 and later, and use
those views by setting the Explorer.CurrentView property to the name
of the existing view you want. You can get the MAPIFolder.Views
collection for a folder and work with the properties and methods of
the View objects in that collection. There are articles in the KB and
on MSDN about creating XML views.

For Outlook 2000 and earlier you'd have to create a view using the UI.
See http://www.slipstick.com/dev/copyfolderdesign.htm for more
information about that.
 
Back
Top