webbrowser-control

Force HTML page to reload if updated recently

Hi, Is there a way that I can force a page to reload, but only if it has been updated recently? I am working on a photography website so there are a lot of images, therefore it is best if it is cached. However, if the content has been updated (e.g. more photographs added) then I want the browser to load a fresh copy, if not then use t...

How to download WebView.dll from windows mobile to desktop.

Dear All, To host Webview (Web Browser Webview.dll) ActiveX control in C# smart device application, we need to download and access WebView.dll present in Windows mobile 6.0, 6.1, 6.5 version in root windows directory (\Windows\WebView.dll). Currently we are unable to download the WebView.dll from mobile device, please guide us further...

Disable image loading from webbrowser control in C#.net before the documentcompleted event

i want to prevent images from a page to load in the webbrowser control. i want it to happen before the documentcompleted event occur. is there a way? ...

WebBrowser Control IE8 Compatibility Mode On/Off Switch

I am having a IE8 compatibility issue while using the WebBrowser control to navigate to a website. The strange thing is sometimes the website works, but more than likely it wont. I can refresh the page sometimes and it works as well. Just going to the page in IE8 I experienced the same CSS rendering problems so I switched to compatibil...

WPF WebBrowser: How I do access progress and new window events

I'm building an a WPF app that uses the WebBrowser control. I'm struggling on a couple of points: How to get the current progress of a download from the control. The WinForms WebBrowser control raises ProgressChange events - how can I relicate this feature with the WPF variant? How to capture links that are trying to open in a new w...

How to have Refresh2 method with .net WebBrowser control?

I have vb6 project that uses Refresh2 method of WebBrowser. How I can access this method in .net project? ...

Alter Rendered Page in Webbrowser Control

is there a way to alter the rendered HTML page in webbrowser control? What i need is to alter the rendered HTML Page in my webbrowser control to highlight selected text. What i did is use a webclient and use the webclient.Downloadstring() to get the source code of the page, Highlight specific text then write it again in webbrowser. pro...

How to include a PDF Viewer plugin with a C# .NET app using webbrowser control?

I've have an app that is a xml/xslt driven document viewer. In its current state, a user points their own browser to the xml file and can view the pdf files from menu selections in their browser so long as they have a PDF viewer plugin such as Adobe Reader installed on their machine. Using the .NET webbrowser control, I was able to crea...

In C# .NET 2.0, is there any way to get access to the URL history of a WebBrowser control?

Well, the title is pretty much the whole question. I'd like to be able to clear the WebBrowser controls history on every Navigate - to prevent my users from going back to a previous page. i already disabled the right click menu so they don't have access to the "Back" option, but they could still hit Backspace to go back in history. block...

Removing border from WebBrowser control

I've got a WebBrowser control sitting on a Form which has an irritating 2px inset-looking border around it. It's causing my content to be clipped by 4 px on the right and bottom, and I can't figure out how to get rid of it. The control itself doesn't have any BorderStyle properties -- how does one remove the border? See the red area in ...

Get HTML Source after JavaScript manipulations

How do i get the full! HTML source of a web page, after it has run some JavaScript code which has made manipulations to the HTML source. I'm using the WebbrowserControl of VB.Net, i'd like to create an extra function of my custom webbrowsercontrol which receives the full HTML source. Thanks in advance ...

Edit CSS in WPF Webbrowser control

I want to build a lightweight (wysiwyg) css editor based on the WPF webbrowser control, so I need to be able to manipulate the css. I figure you can get the HtmlDOM from the Webbrowser.Document property, however i'm having some difficulty figuring out how to obtain and edit the document's css. ...

Getting a javascript error in a c# .net WebBrowser component

Hello, I'm having a problem with some of our users getting a javascript error popup when accessing our online store via our software. The software uses a standard WebBrowser control and the users getting the error include those with IE versions 6,7 and 8 and .net 2 and 3.5. The error does not appear when they access the store directly t...

Losing characters in web based string parsing using query strings

Hi, I am trying to request a webpage from an iis web server that I control utilising query strings. E.g., I have a webbrowser control in my winforms app and request a page similar to "www.site.com/getpage.ashx?field=afsfgwesar+sere" When i try to run this it fails because on the server side, getpage.ashx can’t locate the right field. ...

Changing display font of WebBrowser control in c#?

Hi all, I'm trying to change the display font of WebBrowser control. I tried doc.execCommand("FontName", false, "Arial"); But it seems it works for selected text. I want exact same effect as setting font inside IE -> Internet Options -> General -> Appearance -> Fonts. Thanks in advance. Byoungjo -------- Update ------------- Li...

Any way to tell the WebBrowser control to start in 'nomerge' mode if user has IE8

Our application uses a webbrowser control on a form to navigate to our website when a certain action is performed on our 'text-based' legacy application. All was fine in IE5, 6 and 7 but now it appears IE8 shares session cookies not only between tabs in the same intance but also between all instances. This is a major bother if a user w...

WPF WebBrowser Mouse Events not working as expected

I have a WebBrowser object in a WPF Page and I'm trying to do something whenever the user interacts with the page. I have intially tried to use the events associated with the WebBrowser object but they don't seem to be firing. Below is a simplified example of what my code is trying to do: webBrowser.MouseDown += new MouseButtonEventHand...

The requested resource is in use. (Exception from HRESULT: 0x800700AA)

How can i solve this error " The requested resource is in use. (Exception from HRESULT: 0x800700AA)". This appear while navigating to different website using WebBrowser control in C#.net. can i know why? Thanks ...

VC++ WebBrowser Control .Net Dependancies

Does webbrowser control depend on the .NET Framework when used in VC++? ...

Detect WebBrowser Control

Is there any that I could tell if my site is being accessed by an instance of webbrowser control? Would it be possible to identify it by the user agent w/php? or maybe some javascript hack? Or is it 100% identical to the regular IE from the server side? ...