I'm using the MFC web browser control in my dialog-based MFC project to display some HTML content and I am trying to make it show the "Find on page" dialog window with the search word already pre-selected in it. (What you'd get if you hit Ctrl+F in the IE web [...] read more
Finally bit the bullet and replaced my hack for displaying PDF content inside a silverlight app with a proper SL5 Trusted In-Browser WebBrowser that navigates to a .pdf. When i try to RE-navigate the WebBrowser to another PDF I am seeing the error "Trying to revoke a drop target that [...] read more
I am trying to set some arbitrary css onto an element in wpf's WebBrowser here's the code Dim hd As IHTMLDocument2 = wb.Document hd.execCommand("styleWithCSS", False, CObj("margin:0px")) but i get an error > Trying to revoke a drop target that has not been registered (Exception from > HRESULT: 0x80040100 (DRAGDROP_E_NOTREGISTERED)) other [...] read more
I have problems with COM webbrowser when I try to print through them more than once. For replicating a problem: 1) Create a new "Windows Forms" project 2) Add COM reference to "Microsoft Internet Controls" 3) Add webbrowser control "webbrowser1" and button "button1" to form (from toolbox) 4) Make sure [...] read more
I am trying to provide bootstrap-wysiwyg editor. It works fine in firefox but in IE I am getting exception Unhandled exception at line 30, column 7 in http://localhost:21585/Scripts/plugins/bootstrap-wysiwyg.js 0x80040100 - JavaScript runtime error: This command is not supported. The line is if (document.queryCommandState(command)) { command = "fontSize 5" Any idea? read more
I've got an oob app with a webbrowser on it. The webbrowser source is databound with a URI defined by me. The URI has a path to a webpage from my server that displays a PDF file from its hardrive. Note that all this is done on a local network. [...] read more