zoukankan      html  css  js  c++  java
  • winform正在使用dsoframer迅速"Unable to display the inactive document.Click here to reacitive the document."

        于winform正在使用dsoframer 1.3加载word档,但在axFramerControl1.Open("NPOI.docx");于axFramerControl1控制显示Unable to display the inactive document.Click here to reacitive the document.

    遇到这样的情况的解决的方法有两种方式,一是代码实现设置控件属性,二是通过控件属性设置。

    `代码设置:axFramerControl1.ActivationPolicy = DSOFramer.dsoActivationPolicy.dsoKeepUIActiveOnAppDeactive;

    选择控件属性在ActivationPolicy通过下拉菜单选择属性为dsoKeepUIActiveOnAppDeactive。

    就可要建立成功。加载执行,你可以看到正常显示word档。

    版权声明:本文博主原创文章,博客,未经同意不得转载。

  • 相关阅读:
    terminator shortcut
    支付宝集成错误
    null与DBNULL
    linode接连出问题,我也没看懂英文
    ruby 日期 好函数
    ruby datetime
    act as tree插件
    ruby 时间
    ruby规则引擎
    on ,type等关键词,使用
  • 原文地址:https://www.cnblogs.com/lcchuguo/p/4833631.html
Copyright © 2011-2022 走看看