MORE INFORMATION
Automating Microsoft Office 97, Microsoft Office 2000, and Microsoft Office XP
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, Microsoft Office 2000,
and Microsoft Office XP applications.
The following file
is available for download from the Microsoft Download
Center:
For
additional information, click the article number below to view the article in
the Microsoft Knowledge Base:
253235 FILE: OFFAUTMN.EXE Discusses Office 97 and 2000 Automation and Provides Sample Code
PowerPoint 2000 and 2002 Event Demonstration
PP9Event.exe is a self-extracting file that contains the source
code for an MFC Automation client that controls Microsoft PowerPoint 2000 and
Microsoft PowerPoint 2002. With Office 2000 and Office XP, PowerPoint now
enables Automation clients to sink events; this feature was not available with
earlier versions.
The following file
is available for download from the Microsoft Download
Center:
For additional information,
click the article number below to view the article in the Microsoft Knowledge
Base:
254009 INFO: PowerPoint 2000 Event Demonstration Available for Download
ActiveX Server to Retrieve or Change Office Document Properties
Dsofile.exe is a self-extracting executable that provides an
in-process ActiveX DLL for Visual Basic programmers to use in order to read or
modify the Document Summary Properties for an OLE Structured Storage file.
Because Microsoft Word, Microsoft Excel, and PowerPoint use OLE Structured
Storage to save their files to disk, this DLL lets programmers view and change
document properties without the need to open the document in Office.
The following file
is available for download from the Microsoft Download
Center:
For additional information, click the
article number below to view the article in the Microsoft Knowledge Base:
224351 FILE: DSOFILE.EXE Lets You Read Document Properties w/o Office
Sample C/C++ Project Files for Office 2000 and Office XP COM Add-in
Comaddin.exe is a self-extracting executable that demonstrates
building an Office 2000 and Office XP Component Object Model (COM) add-in in
Microsoft Visual C++. A COM add-in is an in-process COM server (DLL)
specifically designed to run within the context of one or more Office 2000 and
Office XP applications. COM add-ins provide a flexible, efficient, and uniform
method of extending the Office 2000 and Office XP environment.
The following file
is available for download from the Microsoft Download
Center:
For additional information, click
the article number below to view the article in the Microsoft Knowledge Base:
230689 SAMPLE:Comaddin.exe Office 2000 COM Add-In Written in Visual C++
Access Data Retrieval Sample Add-In
AccData.exe is a self-extracting file that contains a sample COM
add-in (Access Data Retrieval Sample Add-In) and the Microsoft Visual Basic
project used to build the add-in. The Access Data Retrieval Sample Add-in is
designed for use with Microsoft Excel 2000 and 2002, Microsoft Word 2000 and
2002, and Microsoft PowerPoint 2000 and 2002.
The following file
is available for download from the Microsoft Download
Center:
For additional information, click the
article number below to view the article in the Microsoft Knowledge Base:
254006 INFO: Access Data Retrieval Sample Add-in Available for Download
Gantt Chart Sample Add-In
GanttAdn.exe contains a Gantt Chart Sample Add-In that is a
sample COM add-in designed for use with Microsoft Excel 2000 and 2002. The
purpose of this sample is to illustrate how to create a COM add-in using Visual
Basic 6.0.
The following file
is available for download from the Microsoft Download
Center:
For additional information, click the article
number below to view the article in the Microsoft Knowledge Base:
254008 INFO: Gantt Chart Sample Add-in Available for Download
Places COM Add-In
The Places COM Add-in is a COM Add-in developed for Microsoft
Office 2000 and Microsoft Office XP applications that use Microsoft Visual
Basic 6.0. The purpose of this add-in is to allow users to customize the Places
bar that is found in the
Open and
Save As dialog boxes used throughout Office 2000 and Office XP
applications.
The following file
is available for download from the Microsoft Download
Center:
For additional information, click the
article number below to view the article in the Microsoft Knowledge Base:
260190 INFO: Places COM Add-in for Office 2000 Available for Download
Sample Application That Uses ADO to Read/Write Data to Microsoft Excel Workbooks
The ExcelADO.exe sample illustrates how you can use ActiveX Data
Objects (ADO) with the Microsoft Jet OLE DB 4.0 Provider to read and write data
in Microsoft Excel workbooks.
The following file
is available for download from the Microsoft Download
Center:
For additional
information, click the article number below to view the article in the
Microsoft Knowledge Base:
278973 SAMPLE: ExcelADO Demonstrates How to Use ADO to Read and Write Data in Excel Workbooks
Office 2000 and Office XP Web Component Script Samples
OWebComp.exe is a self-extracting executable that contains a
series of scripting samples that demonstrate the features and usage of the
Office Web Components. The samples use VBScript and Active Server Pages (ASP)
to demonstrate solutions that employ the Spreadsheet component, the Chart
component, the PivotTable component and the DataSource component.
The following file
is available for download from the Microsoft Download
Center:
For additional information, click the
article number below to view the article in the Microsoft Knowledge Base:
258187 SAMPLE: OWebComp.exe Contains Office Web Component Samples
ActiveX Server for Printing the PivotTable Web Component
OWCHelpr.exe is a sample that illustrates how you can use
Automation to Microsoft Excel to print a PivotTable component on a Web page.
OWCHelpr.exe contains an ActiveX DLL that copies a PivotTable to the clipboard,
pastes it to a new Microsoft Excel workbook, and formats the workbook for
printing. The sample demonstrates how you can overcome some of the printing
limitations you might encounter while printing a PivotTable component from
Internet Explorer.
The following file is available for download from the Microsoft
Download Center:
For additional information, click the article number below to
view the article in the Microsoft Knowledge Base:
262827 FILE: OWCHelpr.exe Demonstrates Automation to Excel for Printing a PivotTable Component on a Web Page
ActiveX Server to Stream Chart Component GIFs to the Browser
ChartGIF.exe is a sample file that illustrates how you can use
server-side script with the Office 2000 Web Chart Component to send a GIF
representation of a chart as binary data to your client's browser. The
advantage of the technique that ChartGIF.exe demonstrates is that you do not
need to rely on session management for deleting temporary chart GIF files on
the server. Instead, temporary chart GIF files are streamed to clients as
binary data and are immediately deleted.
The following file is available for download from the Microsoft
Download Center:
For additional
information, click the article number below to view the article in the
Microsoft Knowledge Base:
264096 FILE: ChartGIF.exe Demonstrates Streaming an Office Web Chart GIF to the Browser
Sample MDI ActiveX Document Container
FramerEx.exe is a modified version of the Microsoft Platform
Software Development Kit (SDK)'s Framer sample for ActiveX Document hosting.
FramerEx.exe is a multiple-document interface (MDI) host application that
demonstrates how an ActiveX Document container can host multiple documents and
perform commonly requested operations, such as in-place print preview and
in-place activation of Visual Basic ActiveX Documents (*.vbd). The ActiveX
Document container can also open and save to existing Office documents (*.doc,
*.xls, *.ppt) and host HTML files (if you have Internet Explorer 4.0 or later
installed).
The following file
is available for download from the Microsoft Download
Center:
For additional information,
click the article number below to view the article in the Microsoft Knowledge
Base:
268470 SAMPLE: FramerEx is an MDI ActiveX Document Container Sample Written in C++
Microsoft Office 97 Automation Help File
Auto97.exe contains a Help file created by Microsoft Technical
Support. The Help file provides an overview of Automation and contains sample
code for automating Microsoft Office 97 applications from Visual Basic and
Visual Basic for Applications (VBA).
The following file
is available for download from the Microsoft Download
Center:
For additional information, click the
article number below to view the article in the Microsoft Knowledge Base:
167223 OFF97: Microsoft Office 97 Automation Help File Available
List of Microsoft Word 97 Automation Errors
When Automating Microsoft Word 97 from Microsoft Visual Basic
(VB) or Microsoft Visual C++ (VC), you might receive an Automation error in the
range 5097-6095 (VB/VBA) or 0x800A12E9-0x800A17CF (C/C++). This would indicate
that a Word error occurred.
Wrd97err.doc is a list of all errors
raised by Word 97, along with the associated Help string (US-English version
only). Developers can use this file to better understand what error occurred
and possibly what actions to take to avoid it.
The following file
is available for download from the Microsoft Download
Center:
For additional information, click the
article number below to view the article in the Microsoft Knowledge Base:
244491 Wrd97err.doc Contains a List of Word 97 Automation Errors