How To Obtain the Window Handle for an Office Automation Server with MFC (261997)
The information in this article applies to:
- Microsoft Office PowerPoint 2003
- Microsoft PowerPoint 2002
- Microsoft PowerPoint 2000
- Microsoft PowerPoint 97 for Windows
- Microsoft Office Excel 2003
- Microsoft Excel 2002
- Microsoft Excel 2000
- Microsoft Excel 97 for Windows
- Microsoft Visual C++, 32-bit Professional Edition 5.0
- Microsoft Visual C++, 32-bit Professional Edition 6.0
- The Microsoft Foundation Classes (MFC)
- Microsoft Office Access 2003
- Microsoft Access 2002
- Microsoft Access 2000
- Microsoft Access 97
- Microsoft Office Word 2003
- Microsoft Word 2000
- Microsoft Word 97 for Windows
This article was previously published under Q261997 SUMMARY This article demonstrates how to obtain the window handle
of an Office application with Microsoft Foundation Classes (MFC) while
automating that application from Visual C++. REFERENCES
For additional information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
178749
How To Create automation project using MFC and a type library
183009 How To Enumerate Windows using the WIN32 API
175030 How To Enumerate applications using Win32 APIs
179706 How To Use MFC to automate Excel and create/format a new workbook
Modification Type: | Minor | Last Reviewed: | 8/19/2004 |
---|
Keywords: | kbAutomation kbhowto KB261997 |
---|
|