The information in this article applies to:
SUMMARY
This article describes known limitations you may encounter with the Microsoft Outlook object model. The following topics are covered:
MORE INFORMATIONOverviewUnlike other Microsoft Office programs which have "full" object models, such as Microsoft Word and Microsoft Excel, the Outlook object model primarily focuses on items and the folders in which they're contained. This means that while you can manipulate items, forms, and certain aspects of folders, many of the commands or settings that are available through the user interface are not available when programming. The Outlook object model does not parallel the Outlook user interface.NOTE: You may be able to work around some of these object model limitations by using the CommandBars collection to execute menu or toolbar commands. For additional information on programming CommandBars, click the article number below to view the article in the Microsoft Knowledge Base: Q201095 OL2000: How to Use Command Bars in Outlook SolutionsIMPORTANT: The scope of this article is limited to using Visual Basic-based programming technologies with the Outlook object model, and may not take into account possible solutions using the Collaborative Data Objects object model or other Microsoft Exchange-related programming technologies. For more information about these technologies, please consult information provided by the Microsoft Developer Network (MSDN) at the following Microsoft Web site: http://msdn.microsoft.com/For additional information about obtaining support for Exchange-related programming technologies, please see the following article in the Microsoft Knowledge Base: Q198354 OL2000: Getting Support for Developing Outlook-Related Solutions Changing Option SettingsThere is no way to programmatically change many of the program-level settings in Outlook, since they are not exposed by the object model. Examples are any of the settings in the Options dialog box on the Tools menu.Changing Folder PropertiesYou cannot change many options or properties related to folders. This includes AutoArchive settings, permissions settings, synchronization settings, and the default form for a folder.Changing View AttributesWhile the Outlook object model now allows you to programmatically change views using the Explorer.CurrentView property, you cannot change specific settings of a view itself.Posting a File to a FolderThere is no way to post a file system-based file to a folder using the Outlook object model. Word and Excel do support a Post method if you want to post a Word document or Excel workbook, but the method does not have an argument that allows you to programmatically specify the folder. The Post method instead displays a window so the user can select the folder.A potential workaround to allow a file to be directly posted to a folder can be found at the following non-Microsoft Web site: http://www.outlookexchange.com/JayHarlow07.htmlThe third-party products discussed here are manufactured by vendors independent of Microsoft; we make no warranty, implied or otherwise, regarding these products' performance or reliability. Changing the Mouse Pointer to an HourglassYou cannot control the appearance of the mouse pointer using the Outlook object model. If you are writing code within Outlook that takes some time to process, you cannot directly force Outlook to display an hourglass pointer if Outlook does not do so automatically.Digitally Signing and Encrypting MessagesThere is no way to digitally sign or encrypt a mail message using the Outlook object model.Messaging Application Programming Interface (MAPI) mail messages have a PR_Security property that supports digital signing and encryption. While you can set this property using the Collaborative Data Objects (CDO) object model, current Microsoft MAPI transports to not support this property. Changing Outlook Bar IconsIt is not possible to programmatically change the icons that are associated with a shortcut on the Outlook Bar. The default icon for the shortcut will be always be used.Changing the Status BarThere is no way to change the status bar text in Microsoft Outlook. The status bar is not exposed as it is in other Microsoft Office object models.REFERENCES
For additional information about available resources and answers
to commonly asked questions about Microsoft Outlook 2000 solutions,
please see the following article in the Microsoft Knowledge Base: Q146636 OL2000: Questions About Custom Forms and Outlook Solutions Additional query words: OutSol OutSol2000 drag drop drag-and-drop simulate OL2K
Keywords : kbdta |
Last Reviewed: October 4, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |