OL2002: How to Programmatically Create or Modify Views (292052)



The information in this article applies to:

  • Microsoft Outlook 2002

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 "Creating Custom Views" white paper located at the following Microsoft Web site:

REFERENCES

For additional information about available resources and answersto commonly asked questions about Microsoft Outlook solutions, click the article number below to view the article in the Microsoft Knowledge Base:

287530 OL2002: Questions About Custom Forms and Outlook Solutions


Modification Type:MinorLast Reviewed:3/1/2004
Keywords:kbhowto KB292052