- UID
- 151
- 积分
- 388
- 精华
- 贡献
-
- 威望
-
- 活跃度
-
- D豆
-
- 在线时间
- 小时
- 注册时间
- 2002-1-10
- 最后登录
- 1970-1-1
|
发表于 2002-3-15 22:28:35
|
显示全部楼层
Re: [ARX函数]:如何从arx程序中输出数据到word中,生成表格等等?
最初由 doublejie 发布
[B]如何从arx程序中输出数据到word中,生成表格等等? [/B]
xd说的没错,这是VC问题,在MSDN中有详细讲解如何用VC操作Word。
INFO: Office Developer Samples and Tools Available for Download
Q253338
--------------------------------------------------------------------------------
The information in this article applies to:
Microsoft Visual C++, 32-bit Professional Edition, version 6.0
The Microsoft Foundation Classes (MFC)
Microsoft Visual Basic Professional and Enterprise Editions for Windows, version 6.0
Microsoft Word 2000
Microsoft Word for Windows 95
Microsoft Excel 97 for Windows
Microsoft Excel 2000
Microsoft PowerPoint 97 for Windows
Microsoft PowerPoint 2000
Microsoft Access 2000
Microsoft Access 97
Microsoft Outlook 2000
Microsoft Outlook 97
Microsoft Outlook 98
Microsoft Office 2000
Microsoft Office 2000 Developer
--------------------------------------------------------------------------------
SUMMARY
This article contains a list of Microsoft Office Developer samples and tools that are available in the Microsoft Download Center.
MORE INFORMATION
Automating Microsoft Office 97 and Office 2000
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 following file is available for download from the Microsoft Download Center. Click the file name below to download the file:
http://download.microsoft.com/download /office2000dev/sample/2/WIN98/EN-US/OFFAUTMN.EXE
For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
Q253235 FILE: OFFAUTMN.EXE Discusses Office 97 and 2000 Automation and Provides Sample Code
PowerPoint 2000 Event Demonstration
PP9Event.exe is a self-extracting file that contains the source code for an MFC Automation client that controls Microsoft PowerPoint 2000. With Office 2000, 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. Click the file name below to download the file:
PP9Event.exe
For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
Q254009 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. Click the file name below to download the file:
Dsofile.exe
For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
Q224351 FILE: DSOFILE.EXE Lets You Read Document Properties w/o Office
Sample C/C++ Project Files for Office 2000 COM Add-in
Comaddin.exe is a self-extracting executable that demonstrates building an Office 2000 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 applications. COM add-ins provide a flexible, efficient, and uniform method of extending the Office 2000 environment. The following file is available for download from the Microsoft Download Center. Click the file name below to download the file:
Comaddin.exe
For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
Q230689 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, Microsoft Word 2000 and Microsoft PowerPoint 2000. The following file is available for download from the Microsoft Download Center. Click the file name below to download the file:
AccData.exe
For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
Q254006 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. 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. Click the file name below to download the file:
GanttAdn.exe
For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
Q254008 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 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 applications. The following file is available for download from the Microsoft Download Center. Click the file name below to download the file:
Places.exe
For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
Q260190 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. Click the file name below to download the file:
ExcelADO.exe
For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
Q278973 SAMPLE: ExcelADO Demonstrates How to Use ADO to Read and Write Data in Excel Workbooks
Office 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. Click the file name below to download the file:
OWebComp.exe
For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
Q258187 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. Click the file name below to download the file:
OWCHelpr.exe
For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
Q262827 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. Click the file name below to download the file:
ChartGIF.exe
For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
Q264096 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. Click the file name below to download the file:
FramerEx.exe
For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
Q268470 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. Click the file name below to download the file:
Auto97.exe
For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
Q167223 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. Click the file name below to download the file:
Wrd97err.exe
For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
Q244491 Wrd97err.doc Contains a List of Word 97 Automation Errors
REFERENCES
For additional information and sample for developing Office solutions, please visit:
http://support.microsoft.com/support/officedev/offdevout.asp
http://msdn.microsoft.com/officedev/
Additional query words:
Keywords : kbfile kbAccess kbActiveX kbAutomation kbExcel kbMFC kbOutlook KbVBA kbPowerPt kbWord
Issue type : kbinfo
Technology : kbWordSearch kbWordWSearch kbAccessSearch
Last Reviewed: January 8, 2001
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.
--------------------------------------------------------------------------------
Send feedback to MSDN.Look here for MSDN Online resources. |
|