Git Product home page Git Product logo

ezoffice's Introduction

eZOffice 与Microsoft Office相关一些插件

一、 Excel AddinManager 快速调试插件

操作方法:

  1. 在VS中新建一个 Test.dll 项目,并添加对 AddinManager.dll 的引用

  2. 定义任何一个类,让其实现 eZx.AddinManager.IExcelExCommand 接口

  3. 通过VS或者编译出来的.vsto文件进行 AddinManager 插件的注册,然后打开 Excel

  4. 在Excel中点击对应的按钮,以打开 AddinManager 界面;

  5. 通过 AddinManager 界面中的 Load 加载 Test.dll ,程序会自动提取程序集中实现了 IExcelExCommand 接口的类;

  6. 双击任意一个方法,即可以开始进行 Test.dll 中的代码测试。当发现代码需要优化时,直接在VS中将代码进行修改并重新编译,然后在 AddinManager 继续点击对应的方法,即可以看到更新后的代码的测试结果;

  7. 如果要进行断点调试,请先通过 VS 中的 Attatch to Process 将 Test.dll 与 正在运行的 Excel 程序进行关联,然后通过双击 AddinManager 中的对应方法,即可以实现断点调试。

ezoffice's People

Contributors

zfybs avatar

Watchers

James Cloos avatar

Forkers

15831944 sunjini

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.