webbrowser

How to handle progress events with GeckoFX

I want to be able to display the page loading status (i.e. waiting for server, downloading page, etc) using GeckoFX. The Navigating event is perfect for letting me know when a page has started loading, but I need to know when it is finished loading. I know the GeckoWebBrowser class has an IsBusy property. I could run a timer and to che...

Browser tabs create multiple instances of my sidebar for each tab; I only want one sidebar.

I have a sidebar (iframe). The problem is, if you open a second tab (in the same browser) it creates a new instance of the same sidebar. That means i have now 2 sidebars. In exemple, if i close the sidebar in the first tab, i would like to have it closed in the second tab as well. Is it possible to have only one instance of a sidebar in ...

Should the website switch language based on IP address or browser language?

Geo-location has been used most by Websites to do redirection, but I have found that several IP addresses locate a country which has using several languages. Meantime, some users prefer to using the language setup in their system. For example, a person from United States goes to Japan and using the Internet connection from there to surf...

MVVM-Light and WebBrowser Control

My view has WebBrowser control in it, how could its ViewModel navigates to a URL and get the WebBrowser.Document object? ...

Tabbed browsing, programaticaly navigating to another open tab

Hello, I'm in a discussion with my co-worker. We have a web application in a tabbed browsing environment, say with 2 tabs open. Tab2 has a link to tab1, when I click the link, it opens tab1 in a new tab. We want to detect if tab 1 is already open, if so then set focus to tab1 (and not open a new window). He has gotten this working i...

Open web browser window in VS 2010 via add-in code?

I'm porting a VS Add-in to VS 2010 from VS 2008 and need to be able to open the built-in web browser. In VS 2008, it was possible to get a handle on the web browser window with code like this: var win = _applicationObject.Windows.Item(Constants.vsWindowKindWebBrowser); However, the same code does not work in VS 2010 when an instance ...

How do I disable webbrowser window in winform app when dialog is shown

I have a winform app with a webbrowser control embedded in the main form using SHDocVw.dll When dialog is shown I need to disable the browser window. The window class is "Internet Explorer_Server". pinvoke EnableWindow() did not work. What else can be done ? ...

What are the steps involved from entering a web site address to the page being displayed on the browser?

And how can the process be speeded up from a developer point of view? ...

How to display data uri scheme into a C# WebBrowser Controler

How can I show an image base64 encoded using WebBrowser control in C#? I used the following code: <img src="data:image/gif;base64,/9j/4AAQSkZJRgABAgAAZABkAA7AAR R894ADkFkb2JlAGTAAAAAAfbAIQABAMDAwMDBAMDBAYEAwQGBwUEBAUHCAYGBw ... uhWkvoJfQO2z/rf4VpL6CX0Dts/63+FaS+gl9A7bP+tthWkvoJfQODCde4qfcg RiNWK3UyUeX9CXpHU43diOK915X5fG/reux5hUAUBftZ" ...

Browser timing out attempting to load images

I've got a page on a webapp that has about 13 images that are generated by my application, which is written in the Kohana PHP framework. The images are actually graphs. They are cached so they are only generated once, but the first time the user visits the page, and the images all have to be generated, about half of the images don't load...

Trigger local program execution from browser

First and foremost: I know it's not right or even good thing to do but my current customer will not cave in. So here's what he is asking for (this is for in-house-behind-a-firewall-etc project). In the web report I need to supply a link which points to the executable script that lives on the universally mapped location (network file serv...

Would it be possible for web browsers to automatically update rendering engines?

As a way to prevent the major annoyances of browser segmentation and older versions. This way the code would only need to be done for the latest version of the browser, but users could still have the functionality of the older version and not be forced to do major updates? I am sure there will be some major flaws in this, and I would ...

How can I detect when a checkbox has been selected in a WebBrowser control from within WinForms?

In my winforms application, I have a WebBrowser control which displays a page. When the user checks/unchecks a checkbox, I want to detect that, and have an event do some processing within my winforms app. Any idea if this is possible? ...

How to get the value of a SELECT HtmlElement in C# webBrowser control

Hi, In a C# WebBrowser control, I have generated a SELECT HtmlElement with a number of OPTION elements using w.RenderBeginTag(HtmlTextWriterTag.Select). I need to get the value of the select when the user changes it, and so added an event handler in the WebBrowser DocumentCompleted event. private void webBrowser1_DocumentCompleted(obj...

asp.net webbrowser file download

Hi, I have a webbrowser in my windows form application. I navigate a page and after document completed i click "download" button with javascript. cleary ; wb.Document.GetElementById("btnDownload").InvokeMember("click"); then save file dialog shows up. But I need to get this file as stream. thanks. ...

Search in the control WebBrowser

as in the WebBrowser control are to find all occurrences of a keyword, highlight them and go to the first occurrence ? ...

How to get the URL of selected hyperlink in android web browser?

Hi All. In my android application I want to get URL of the hyper link text, selected from web page in my android web browser. How can I get it? I want to URL of the hyper link (link that is clicked inside of that webview). please help me.. ...

3D in HTML5 vs Silverlight

I'm wondering about the 3D capabilities of HTML5 versus those of Silverlight. Someone was telling me that Internet Explorer 9 and the next version of Chrome will both feature GPU acceleration. How will this compare to say, the capabilities of Silverlight? I know Unity is a great 3D engine, but would it be possible to render reasonably c...

System.Windows.Forms.WebBrowser : Force X86?

This object always uses the default on the system, so on an x64 machine, it will use an x64 Internet Explorer object. Is there any way I can force it to use the x86 IE? The web page element the browser accesses does not work on x64 and is out of my control. ...

Problem pasting HTML from selection in web browser.

I am putting together a WYSIWYG html editor using the .NET webbrowser control. I have managed to piece together the code for inserting a table at the cursor position. However I am now trying to do something a little different. What I need to do is insert a and html comment around a table row. I've managed to write the code that, fr...