I need to implement a browser plugin which can register its own protocol (like someprotocol://someurl) and be able to handle calls to this protocol (like user clicking on 'someprotocol' link calls function inside my plugin). As far as I understand, Skype does something similar, except I need to handle links within page context and not in...
Hi,
I am working on a simple application with a webbrowser control. When I go to some of the URLs, an error message pops up something like "Internet Explorer Command Line Error". I am not sure about the exact wording since I use it in a non-English language.
Is there a way to cancel this so that I don't have to close this message all t...
I don't even really know if the title is the best way to explain what I'm trying to do, but anyway...
We have a web app that is being ported to a number of DB backends via MDB2. Our unit tests are pretty lacking at the moment, but our internal users are pretty good at knowing what to test to see if things are broken.
What I'm 'imaginin...
I need to display some portion of html in my windows forms application. It's necessary that this html will be displayed without any scrollbars.
I tried to use WebBrowser control for my task, but it lacks of AutoSize property. Is it possible to determine minimal height necessary to display all contents without scrolling somehow?
...
Hi,
I am trying to display an HTML page with embedded JavaScript code inside a System.Windows.Forms.WebBrowser control. The JavaScript code is expected to interact with the embedding environment through the window.external object. Before invoking a method on window.external, JavaScript is supposed to check for the existance of the metho...
I have a Windows forms application written in VB.NET where I host multiple WebBrowser controls in the same window. The problem I'm having is that the session for each WebBrowser control seem to get "crossed" when making asynchronous requests, such as when loading images. For instance, I have WebBrowser1 that loads an HTML document and ...
I have a windows application which uses a form containing WebBrowser component. I never found this error message in the navigate method of it, till OS Vista. But it only shows up for OS Windows 7.
Yes, solutions -
1) At post build -
call "$(DevEnvDir)....\VC\bin\vcvars32.bat"
call "$(DevEnvDir)....\VC\bin\editbin.exe" /NXCOMPAT:NO "$(T...
BACKGROUND: The following works in Access 2007, but broke when I installed 2010
I have a WebBrowser control in an Access Form; I set its location as follows
Me.WebBrowser0.ControlSource = "http://foo.com"
and then execute a script in the page
Script = "StartScript(null);"
Me.WebBrowser0.Object.Document.parentWindow.execScript Scr...
In a WinForms application I need to detect when the contents of a System.Windows.Forms.WebBrowser is double clicked which in turn opens custom winform dialog box.
I note that WebBrowserBase disables the Control.DoubleClick event but I've not worked out how to override this behaviour.
...
I am loading a website using a WebBrowser's Navigate function, and I want the browser to load the page with a cookie I've given it.
The following code doesn't work:
wb.Navigate(url, null, null, "Cookie: " + cookie + "\n");
What am I doing wrong? Will I have to use InternetSetCookie? This doesn't seem like the best solution....
Welcome,
Has anyone know any alternative to WeBrowser control from .NET Compact Framework, which may be used with Windows CE? Unfortunately standard web control from .NET CF 2.0 doesn't work on WinCE. Is any way to present formatted text in embedded control in .NET CF application targeted to Windows CE?
Regards,
Grzegorz
...
When I navigate to an intranet site requiring windows authentication, the WinForms WebBrowser control isn't displaying a login dialog. But it will display (after refreshing the page) if I first open Internet Explorer and view the same page.
Also, if I make the URL refer to my local IIS instance, the login dialog will appear.
Any ideas...
In my C# app I get an xml from a server that contains some replies like in a forum thread (with elements like author, time, body, title, whatever).
When I get this xml, I create a new form in which i want to display these replies, and a little text box with an "add reply" button. I'd also like some edit buttons on perhaps my own replies...
Hi,
I have a page that has a 100% width and height div in it (all surrounding elements are sized accordingly so that it does actually achieve 100% width and height). Below that div I have a second div with a fixed height.
In mobile safari and blackberry everything is fine, when the page loads the dimensions are applied correctly (the t...
Is there a way to capture the DOMContentLoaded event in webbrowser control? I have seen JavaScript examples, but wondering if there is something for the browser control in windows apps.
...
I've had nothing but grief using Symbian's browser control on S60 3rd edition FP1. We currently display pages and many things are working smoothly. However, when inputting text into an HTML text field, the user will get a KERN-EXEC 3 if they move left at the beginning of the text input area (which should "wrap" it to the end) or if they ...
I want to use mozilla control in my application..
But
when i use Webbrowsercontrol i just use
webbrowser.navigate("http://www.google.com")
but this commant is not working with mozilla control ant when we try to navigate to any web address it gives following exception.
Exception has been thrown by the target of an invocation.
...
I have an MDI WPF app that I need to add web content to. At first, great it looks like I have 2 options built into the framework the Frame control and the WebBrowser control. Given that this is an MDI app it doesn't take long to discover that neither of these will work.
The WPF WebBrowser control wraps up the IE WebBrowser ActiveX Con...
I have a IWebBrowser2 I use to visit some webpages with .Navigate()
When the page has a js error I got a warning box for "Syntax error", so I used .put_Silent(TRUE). And now I get a warning for "VS Just-In-Time Debugger: Unhandled exception" instead
How can I disable all the script error warnings (including JIT debugger) from my code (i...
How can I show an image on a webbrowser control in C#/.NET? I'm doing something like
webBrowser1.DocumentText = "<html><head></head><body><img src=imagelocationURL.png/></body></html>"
but the image doesn't appear. What am I doing wrong?
...