We have a .Net application that is used to edit / render custom HTML documents. It is hosted in IE using the AxSHDocVw.AxWebBrowser controls. First, we go to the "about: blank" page, then we change the document by entering our custom values ββinto it. The problem we are facing is calling IHTMLTxtRange.execCommand ("Copy", "false", "No") if we did not enable IE security settings in the Internet security zone ("Scripts-> Allow access to software in clipboard" ).
To get around the security setting, I tried to first specify the local html file during navigation. But this fails as soon as I modify the document.
I want to use the IHTMLTxtRange.execCommand command (Copy, False, No) so that I can configure Copy / Paste operations. Is there any other way I can do this. Share your ideas to overcome this situation. Thank you Sriram
source
share