Microsoft KB Archive/883557

= Outlook View Controls on a custom Outlook form are reset in Outlook 2003 =

Article ID: 883557

Article Last Modified on 11/6/2004

-

APPLIES TO


 * Microsoft Office Outlook 2003

-





SYMPTOMS
When you add more than one Outlook View Control on a custom Microsoft Outlook form in Microsoft Office Outlook 2003 and then set the AxViewCTL1.Folder property to point to an Outlook folder multiple times, the existing view is reset for all Outlook View Controls that are on the form.



CAUSE
This issue may occur if the AxViewCTL1.Folder property of each Outlook View Control is set to the same folder more than one time.



RESOLUTION
To resolve this issue, assign the code to set the AxViewCTL1.Folder property only one time in the Item_Open event of the Outlook custom form, instead of multiple times in the Button_click event of a button on the form.



MORE INFORMATION
For additional information about the Outlook 2002 View Control, click the following article number to view the article in the Microsoft Knowledge Base:

291407 Description of Outlook 2002 View Control

Keywords: kbtshoot KB883557

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.