webbrowser

Memory leak when using WPF WebBrowser control in multiple windows

I am working on a project that makes use of the WPF WebBrowser control (System.Windows.Controls.WebBrowser). The web browser element of the program is one of many activities the user can engage in, and is opened in a separate window. After the user navigates away from the browser, the window is closed, and a new window is created each ti...

2 connections per server?

i´ve read somewhere that you can just have 2 connections (eg. ajax requests) to the same server. is this correct? so you can´t run 3 ajax requests simultaneously? what will happen to the 3rd one? and if I´ve got one iframe, then i can just run 1 ajax request at the time? what is the easiest way to get around this? what keywords could...

How to print table header on every page with Qt Web Browser?

I have large table and I would like to print table header on every page. I try'ed using THEAD element, and it works in other browsers (Firefox, IE) just well. When I hit print preview in Qt Web browser, it doesn't repeat table header. Is there any solution for that? ...

Problem with eclipse internet explorer browser (help system & other)

Does not show any pictures [only boxes with text]. Tried to reinstall IE, it didn't help. Actually I have IE 7. Version of Eclipse is Galileo. Should say, IE works fine if used independently. As Von.C recommended, I tried to open the content in an external browser (Firefox). It looks the same. Boxes with the text. http://img62.imagesha...

Prevent webkit HTML from going fullscreen

Hello, im working on a flex / air kiosk application, i want to be able to ALWAYS show a banner in one portion of my screen, in the other portion i have an air html component so the user can browse the web. The problem is this: if a user goes to youtube.com he will be able to go fullscreen and the video will prevent my "allways visible" ...

Remove a section of a website; web browser control. C#

Is there any way of removing a section of a website without altering the code. Let's say for an example, I would create a webBrowser control in my windows form and tell it to load stackoverflow.com, would there be any way of removing; lets say the top 100 pixels from displaying? Thanks Lawrence ...

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...

Problem with webBrowser Control.

Hi, I am trying to retrieve data from a page wich first requires to log on, I am using a webControl on a c# winform, and when I try to log on an error pops up telling me "Object doesn't support this property or method" in a .js file at cerain line, the method being called is window.external.AutoCompleteSaveForm which I have no Idea ...

Python :: How to open a page in the Non Default browser.

I was trying to create a simple script to open a locally hosted web site for testing the css in 2 or more browsers. The default browser is IE7 and it opens the page fine but when I try to open a non default browser such as Firefox or Arora it just fails. I am using the webbrowser module and have tried this several way as detailed in va...

Use WebBrowser Navigate2 method without additional parameters in .Net

I have VB6 application that uses Navigate2 method of WebBrowser control. .Net version of WebBrowser have 8 versions of Navigate method. Which method is mapping functionality of Navigate2 of the code below: Dim url url = "www.apple.com" WB.Navigate2 url ...

Notify users from my webpage that their browser does not have the latest update?

I want to show a warning message to all of my logged in users to my web application if their browser is not the latest version. So if they are using IE8 without the latest security patch, or if they are using Firefox 3.0 (instead of 3.5 or 3.6 at this point), or using an older version of Safari/Chrome when a newer stable version has bee...

How to use AxWebBrowser in console application

I wanna use AxWebBrowser on console application, but it give me following exception: Exception of type 'System.Windows.Forms.AxHost+InvalidActiveXStateException' was thrown. anybody please help me on this by any sample code for using AxWebBrowser in console application c# without any exeption ... ...

Get window inner width and height of android built in webbrowser at all zoom levels

hi, I am trying by using javascript to get the window width and height of the build in webbrowser but can't find the right method, currently it seems the DOM doesn't know about the zoom level changes. Thanks ...

OLE Container for .NET (C#)

I'm working on a project that requires me to load an OLE object and render it in a .NET WinForm app (C#). Unlike VB6 .NET has no built in OLE container, and the recomended approach is to use the WebBrowser control which supports displaying ActiveX content. The issue I have is the provider of the OLE object in question does not have an Ac...

Browser settings online service, to help users get settings right?

For a web site (software-as-a-service application) that is used by lots of non-geek users, I am looking for a web site to refer users to if I detect they have their browser settings wrong (e.g. popups disabled, real old version of Adobe Reader, etc). I'd like this site to: run some kind of browser check operation to figure out what th...

Spoofing the URL in a WebBrowser

Let's say I get the source code of some page (e.g. http://example.com). I now want to write this source code to a WebBrowser, using something like: myWebBrowser.Navigate("about:blank"); myWebBrowser.Document.Write(sourceCode); Now, let's pretend that on the homepage of Example.com, there's a relative URL such as: <img src="/logo.gif"...

What's the proper way to write HTML to a WebBrowser in C#?

If instead of navigating to a webpage in a WebBrowser, you want to set the HTML property directly, what's the proper way to do it? Is it like this? myWebBrowser.Navigate("about:blank"); myWebBrowser.Document.Write("<html><body>Test</body></html>"); ...

Unable to download .apk via webbrowser from drupal site

I have a drupal-based website where people can log in and see private discussion forums. This is where I want to have my beta testers for my Android application download the beta .apk files. I tested this thoroughly on my Android 1.6 based myTouch 3G, and was able to log in, and download files attached to forum posts without problems. N...

Dynamically resizing a dialog at runtime to fit embedded WebBrowser

Hi, I am creating a WebBrowser ActiveX control inside an ActiveX dialog (ATL::CAxDialogImpl). The control is loaded with some text content at run-time before the dialog is displayed, and so the dialog window must be resized dynamically in order to fit the WebBrowser control. I've seen a similar question asked with C# but couldn't get it...

WinForms WebBrowser control — Get Document Elements After AJAX?

I'm using WebControl from Windows Forms in C# and I'm trying to load a Web Ajax content (i suposed that the content is ajax) this is the code of the page retrieve from the explorer: <ul id="building"> <li id="button1" class="on"> <div class="supply1"> <div class="buildingimg"> <a class="fastBuild tips" title="|Expandir...