This page has been archived and is no longer  being actively maintained.
Outlook Developer Home
Outlook Programmer's Library
 
Outlook Technologies
Outlook Forms
Languages
Samples
Other Technologies

 

Using the Outlook View Control

The Outlook View Control (OVC) is a free ActiveX control, downloadable for Outlook 2000 and included with later versions, that can display an Outlook folder in an Outlook custom form, a web page, or a VB or VBA project.

Availability | Usage | Samples | Limitations | Notes | Tools | More Information

Availability

In Outlook 2003, the OVC is installed by default and automatically updated as needed with service packs and other updates.
Outlook 2002

The OVC version included with the original release of Outlook 2002 had a major security vulnerability and was later replaced in a security update:

To get the latest version of the OVC, install Office XP Service Pack 2 or any later service pack. See:

Outlook 2000

The OVC was originally released as part of the Outlook 2000 Team Folders Kit. Since that kit is now officially discontinued, the Outlook 2000 version is available as part of Office 2000 Service Pack 3.

Back to Top

Usage

Basic information is available at:

If you are using the updated OVC in a web page or other non-Outlook application, omit the View parameter (e.g. <param name="View" value="By Category">) in the initial settings for the control. If you set the View this way, even to value="", more often than not it will cause the control to default to the user's Inbox rather than showing the folder you want. See Outlook View Control View Issue Demo for a demonstration of this problem.

In Outlook 2002 and 2003, you must set the Folder parameter for the OVC. This was not necessary in Outlook 2000, which always displayed the Inbox by default if the Folder was not specified. See OL2002 Outlook View Control Is Blank.

The Outlook 2002 and 2003 OVC versions include a Selection collection for all items selected in the OVC. In Outlook 2000, if the OVC is being used in a folder home page and is displaying that same folder, you can use ActiveExplorer.Selection. A sneaky but messy solution, thanks to

Back to Top

Samples

Back to Top

Limitations

The OVC can show only one folder at a time. It cannot duplicate the multi-folder list of items that Outlook shows on the Activities tab of a contact form.
Outlook 2002 issues fixed in Service Pack 3:
Also see:
Back to Top

Notes

The Outlook 2000 version of the OVC has a build number of 10.0, but does not support the Selection or ViewXML property as Outlook 2002 does.

Don't use DeferUpdate if you're also planning to apply a Restriction. See the discussion at OVC Restriction Only Functions After Filter.

The Folder parameter is language-dependent. It need the name of the folder or path as seen in the user's Folder List.

Back to Top

Tools

Outlook Architect Alternative viewer control and related controls for building applications with functionality similar to Team Folders
Back to Top

More Information

   
© 2002-6 TurtleFlock, LLC
All right reserved.
About OutlookCode.com

Send comments to webmaster@outlookcode.com

Designed and Implemented by TerraLink USA 

FrontPage Integration
by RobsonDesignWorks

 
 
get Sue's code | forums | share your own code | registration