Article ID: 253235 - View products that this article applies to.
This article was previously published under Q253235
Offautmn.exe is a self-extracting executable that contains a white paper supplemented with sample projects that provide the fundamentals for understanding how to Automate Microsoft Office 97 and Microsoft Office 2000 applications.
The white paper is designed to guide you from the ground up to through creating a variety of fully functional Automation clients. It is structured as a tutorial with a large assortment of sample code and provides tips throughout that facilitate development of your Automation clients. Exercises and sample code are presented for Microsoft Visual Basic, Microsoft C/C++, and Microsoft Foundation Classes (MFC) developers.
The following file is available for download from the Microsoft Download Center:
Download the OffAutmn.exe package now.
Collapse this imageExpand this image
(http://download.microsoft.com/download/b/7/a/b7a90dba-d2a1-4ca8-9848-3f42ed631671/offautmn.exe)For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.
(http://support.microsoft.com/kb/119591/ )How to obtain Microsoft support files from online services
AutomationAutomation, formerly called OLE Automation, is a technology that allows you to take advantage of an existing program's content and functionality, and to incorporate it into your own applications. Automation is based on the Component Object Model (COM). COM is a standard software architecture based on interfaces that is designed to separate code into self-contained objects, or components. Each component exposes a set of interfaces through which all communication to the component is handled.
With Automation, you can use the Microsoft Word mail merge feature to generate form letters from data in a database without the user being aware that Word is involved. You could even use all of the charting and data analysis functionality that Microsoft Excel provides using Automation. You don't need to write your own calculation engine to provide the multitude of mathematical, financial, and engineering functions that Excel provides; Instead, you can automate Microsoft Excel to "borrow" this functionality and incorporate it into your own application.
Automating Microsoft Office 97 and Office 2000 white paperThe white paper (Offautmn.doc) included in Offautmn.exe is intended to provide you with a foundation for developing your own Automation clients for Microsoft Office applications. A hands-on approach is used to help you with the following:
The supplemental projects for the exercises and samples that are included in Offautmn.exe are outlined below:
(c) Microsoft Corporation 2000, All Rights Reserved. Contributions by Lori Turner, Microsoft Corporation.
Project Description Project Folder ------------------- -------------- Exercise 2 ..\VB\Exercise2 Exercise 3 ..\VB\Exercise3 Using SAFEARRAYs ..\C++\SafeArrayDemo Exercise 4 ..\C++\Exercise4 Exercise 5 ..\C++\Exercise5 Exercise 6 ..\MFC\Exercise6 Exercise 7 ..\MFC\Exercise7 Exercise 8 ..\VB\Exercise8 Exercise 9 ..\MFC\Exercise9 Exercise 10 ..\VB\Exercise10 Exercise 11 ..\MFC\Exercise11 Automate Excel to Create and Format a New Workbook ..\VB\ExcelArray ..\MFC\ExcelArrays Automate Excel to Add Data from a DAO Recordset to a Workbook ..\VB\ExcelData ..\MFC\ExcelData Automate Word to Perform a Mail Merge with Access Data ..\VB\MailMerge ..\MFC\MailMerge Automate PowerPoint to Create and Run a SlideShow ..\VB\SlideShow ..\MFC\SlideShow Automate an Office Application to Obtain a Document's Properties ..\VB\DocProps ..\MFC\DocProps
Article ID: 253235 - Last Review: January 11, 2005 - Revision: 6.2
Contact us for more help