Microsoft KB Archive/292052

= OL2002: How to Programmatically Create or Modify Views =

Article ID: 292052

Article Last Modified on 3/1/2004

-

APPLIES TO


 * Microsoft Outlook 2002 Standard Edition

-



This article was previously published under Q292052





SUMMARY
You can use the Microsoft Outlook 2002 object model to programmatically create, modify, or delete folder views.

IMPORTANT: If your solution must work with an earlier version of Outlook, you cannot design your solution using this functionality. For additional information about possible workarounds for previous versions of Outlook, click the article number below to view the article in the Microsoft Knowledge Base:

262294 OL2000: Cannot Programmatically Create or Modify Views



MORE INFORMATION
Using the Outlook 2002 object model, you can:
 * Switch the view of a folder.
 * Create new views.
 * Change the attributes of a view. These are the attributes that are available through the user interface if you click View, point to Current View, and then click Customize Current View.
 * Delete views.

For more information about how to programmatically manipulate views, including Visual Basic code examples, see the &quot;Creating Custom Views&quot; white paper located at the following Microsoft Web site:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnout2k2/html/ODC_CustomViews.asp?frame=true

