VC_Addin_Excel

所属分类:ActiveX/DCOM/ATL
开发工具:Visual C++
文件大小:56KB
下载次数:68
上传日期:2010-09-27 15:40:09
上 传 者李向
说明:  Office中的插件,这样就可以在Execl中加入自定义的右键菜单了。
(Office of the plug-in, so that you can add custom Execl right menu.)

文件列表:
例子\frameapp.cpp (30724, 2000-07-11)
例子\framedoc.cpp (29434, 2000-07-11)
例子\framerex.dsp (4555, 2000-07-11)
例子\framerex.dsw (541, 2000-02-18)
例子\framerex.h (13671, 2000-07-11)
例子\guids.cpp (1520, 2000-04-10)
例子\ipprevw.h (2711, 2000-04-04)
例子\print.cpp (12934, 2000-07-11)
例子\Release\framerex.exe (49152, 2000-07-11)
例子\Res\framer.ico (1078, 2000-02-19)
例子\Res\framerex.rc (7027, 2000-07-11)
例子\Res\paper.ico (1078, 2000-02-18)
例子\Res\resource.h (2039, 2000-04-10)
例子\Res\Thumbs.db (4096, 2008-12-29)
例子\winmain.cpp (5450, 2000-07-11)
例子\Release (0, 2008-12-29)
例子\Res (0, 2008-12-29)
例子 (0, 2008-12-29)

--------------------------------------------------------------------------- Microsoft Office Development Sample - Knowledge Base Article Q268470 Subject: FramerEx MDI ActiveX Document Container Sample Date: September 1, 2000 Microsoft Technical Support, Contributions by Richard Taylor --------------------------------------------------------------------------- The FramerEx ActiveX Document Container Sample is an MDI version of the Platform SDK Framer sample, which demonstrates hosting ActiveX Documents in a custom application. The sample is written for C++ developers interested in working with ActiveX Documents. This sample is not meant to provide a framework for building a production application; rather it is teaching example of what is required to understand how ActiveX Documents work, and how they could be used in an MDI application. The FramerEx sample complements the Framer sample that comes with the Platform SDK, but it extends it in many ways. FramerEx demonstrates the following features: · A Multiple Document Interface (MDI) application, which can have more than one ActiveX Document open at a time. · Implementation of ICommandTarget, IPrint, and IPrintPreview. · Hosting VB ActiveX Documents and HTML web pages. Files Included with the Sample ------------------------------ The download containing this document also includes the following files: FramerEx.dsp FramerEx.dsw framerex.h frameapp.cpp framedoc.cpp guids.cpp ipprevw.h print.cpp winmain.cpp ..\res\resource.h ..\res\framerex.rc ..\res\framer.ico ..\res\paper.ico ..\release\FramerEx.exe The FramerEx Sample ------------------- The FramerEx sample is written in Microsoft Visual C++ 6.0 using the Platform SDK. It provides a basic example of how an MDI application can work as an ActiveX Document host without using Microsoft Foundation Classes (MFC). It is designed to be as simple as possible to demonstrate just those elements that are important to ActiveX Documents, and provides no functionality of its own. It does, however, demonstrate some of the more advanced features of ActiveX Documents that are not covered by the Framer sample that comes with the Platform SDK. You do not need to do anything special to build and run the program if you are using Visual C++ 6.0. Just open the project file and compile the application. The example works with all ActiveX Document servers, including Microsoft Word documents (*.doc), Microsoft Excel workbooks (*.xls), Microsoft PowerPoint presentations (*.ppt), and Visual Basic ActiveX Document projects (*.vbd). If Internet Explorer 4+ is installed on the system, you can even open Web pages (*.html) in-place because Internet Explorer uses an ActiveX Document server (mshtml.dll) to view Web pages inside frames. You have a royalty-free right to use, modify, reproduce, and distribute this sample application, and/or any modified version, in any way you find useful, provided that you agree that Microsoft has no warranty, obligations or liability for the code or information provided herein. THE FRAMEREX SAMPLE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. Where to Find More Information ------------------------------ For more information on ActiveX Documents, see the Framer sample that comes with the Platform SDK, and look at the online Help on the Microsoft Developer's Network (MSDN) for interfaces such as IOleDocument, IOleDocumentSite, and IOleCommandTarget. To access the online Help, navigate to: http://msdn.microsoft.com/library You can find help for these interfaces under the "Platform SDK/Component Services/COM/OLE and Data Transfer/References" section. For additional resources for Office Automation, please visit: http://support.microsoft.com/support/officedev/offdevout.asp Important Notice of Use and Distribution ---------------------------------------- Microsoft provides programming examples for illustration only, without warranty either expressed or implied. Read the disclaimer below for more information. Microsoft support professionals can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact a Microsoft Certified Solution Provider or the Microsoft fee-based consulting line at (800) 936-5200. For more information about Microsoft Certified Solution Providers, please see the following page on the World Wide Web: http://www.microsoft.com/mcsp/ For more information about the support options available from Microsoft, please see the following page on the World Wide Web: http://www.microsoft.com/support/supportnet/overview/overview.asp NOTICE OF COPYRIGHT ------------------- The software samples, including any accompanying documentation (the "Software"), are provided to you at no charge. Microsoft Corporation owns all rights, title, and interest in and to the Software. The user assumes the entire risk as to the accuracy and the use of the Software. COPYRIGHT NOTICE. Copyright 1993-1997 Microsoft Corporation. Microsoft and/or its suppliers, One Microsoft Way, Redmond, Washington ***052-6399 U.S.A. All rights reserved. DISCLAIMER OF WARRANTY ----------------------- NO WARRANTY. THE SOFTWARE IS PROVIDED “AS-IS,” WITHOUT WARRANTY OF ANY KIND, AND ANY USE OF THIS SOFTWARE PRODUCT IS AT YOUR OWN RISK. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND ITS SUPPLIERS DISCLAIM ALL WARRANTIES AND CONDITIONS, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE, TITLE, AND NON-INFRINGEMENT, WITH REGARD TO THE SOFTWARE. LIMITATION OF LIABILITY. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL MICROSOFT OR ITS SUPPLIERS BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT, OR CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR ANY OTHER PECUNIARY LOSS) ARISING OUT OF THE USE OF OR INABILITY TO USE THE SOFTWARE, EVEN IF MICROSOFT HAS BEEN ADVISED OF THE POSSIBLITY OF SUCH DAMAGES. BECAUSE SOME STATES AND JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES, THE ABOVE LIMITATION MAY NOT APPLY. MICROSOFT’S ENTIRE LIABILITY AND YOUR EXCLUSIVE REMEDY UNDER THIS EULA SHALL NOT EXCEED FIVE DOLLARS (US$5.00). RESTRICTIONS ------------ The following conditions also apply to your use of the Software: The Software may be copied and distributed internally only, subject to the following conditions: · All text must be copied without modification and all pages must be included; · If software is included, all files must be copied without modification; · All components of this Software must be distributed together; and · This Software may not be distributed for sale or profit. If you are not a Microsoft Premier customer, Microsoft shall not provide technical support for this Software. The Software is provided with RESTRICTED RIGHTS. Use, duplication, or disclosure by the Government is subject to restrictions set forth in subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause at DFARS 252.227-7013 or subparagraphs (c)(1) and (2) of the Commercial Computer Software—Restricted Rights at 48 CFR 52.227-19, as applicable. Manufacturer is Microsoft Corporation, One Microsoft Way, Redmond, WA ***052-6399. Any transfer of the Software must be accompanied by this statement and may only be transferred if first approved by Microsoft. This Agreement is governed by the laws of the State of Washington, U.S.A.

近期下载者

相关文件


收藏者