WinForm use Dsoframer hint "unable to display the inactive document. Click here to reacitive the document.

Source: Internet
Author: User
The Word document is loaded in WinForm with Dsoframer 1.3, but in Axframercontrol1.open ("Npoi.docx"), AxFramerControl1 to is displayed in the unable control Display the inactive document. Click here to reacitive the document.

There are two ways to resolve this situation: the code implementation sets the control property, and the second is set by the control property.

' Code settings: Axframercontrol1.activationpolicy = DSOFramer.dsoActivationPolicy.dsoKeepUIActiveOnAppDeactive;

Select the control property in the Activationpolicy through the drop-down menu to select Properties of Dsokeepuiactiveonappdeactive.

Can be set successfully, run to see the Word document that is displayed normally after loading.

WinForm use Dsoframer hint "unable to display the inactive document. Click here to reacitive the document.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.