webbrowser

Hosting browser in WPF

Is it possible to host any other web browser beside IE in WPF desktop application? Edit: If yes, how? ...

how does browser (firefox/safari) detects that website you are visiting is infected?

how does browser (firefox/safari) detects that website you are visiting is infected? Do they have a black list? or they run the URL through some Antivirus scripts? or What happens behind the scenes? ...

Automated filedownload using WebBrowser without url

I've been working on a WebCrawler written in C# using System.Windows.Forms.WebBrowser. I am trying to download a file off a website and save it on a local machine. More importantly, I would like this to be fully automated. The file download can be started by clicking a button that calls a javascript function that sparks the download disp...

How to resume program (or exit) after opening webbrowser?

I'm making a small Python program, which calls the webbrowser module to open a URL. Opening the URL works wonderfully. My problem is that once this line of code is reached, the problem is unresponsive. How do I get the program to proceed past this line of code and continue to execute? Below the problematic line is the problematic line, ...

WebBrowser control Resize C#

I have a webrowser in my form that accesses a website that is too wide for the control. I would like to know if there is a way to resize the control to fit the website. It seems simple, but i have not found a way yet. I know how to resize the control, I just need to find the width of the website. Just like when you press the green button...

Can I use the WPF WebBrowser control as a UI interface in C#?

Is it possible to use the WebBrowser control as a UI interface in C#? I like to write a string of HTML directly into the control and get an event and read the value of the hyperlinks when such a link is clicked. HTML is a great rendering language and it seems to be a waste if we could not use this technology in applications. If this ...

Find specific data in html with HtmlElement(Collection) and webbrowser.

I want to find a div with the class name XYZ then in it i want to loop through a bunch of elements named ABC. Then grab the links (a href) inside and possibly other information. How do i find the div with XYZ from webBrowser1.Document.Links and any subitems i want? ...

Auto click a link/button in webbrowser?

Theres a link i want to click. I also have the HtmlElement of the link. However it is /site/blah/# so i know theres some JS there. How do i simulate the click? ...

which engines do firefox/safari/chrome use

I was just wondering, what engines these browsers use: Firefox...Gecko? Safari...Webkit? Chrome..." " Internet Explorer...? Thanks... ...

Internet Explorer 6 and Big companies

Why big companies and even US government still have Internet Explorer 6 as their recommended browser? I'm working at Cisco Systems and their recommended browser is IE6 which makes my life, as a web developer, miserable. I have to spend three times more time debugging problems for IE6 than for any other browsers and I think that they (my ...

Detecting Port Utilized by Webbrowser

When the webbrowser control issues an HTTP request to a URL, it is assigned a port - which is utilized for the length of that connection. Is there away to find out which port is being utilized for each connection the webbrowser control establishes/issues? ...

How maintain the Silverlight application state aftwer the user press the browser refresh button?

I'm learning Silverlight 3 and, in all of my tests, when I press the browser refresh button, the SL application restarts. Is there any way to avoid this? ...

.NET WebBrowser Control as User Interface

First a few definitions to keep things clear. User: A live person, using the software Client: A company that is paying for a customized version of our software for their users. We currently have a few applications that are going to require significant changes in the user interface based on which client the user belongs to. We ...

How to turn off webbrowser Information Bar?

Hi I am using WPF C# WebBrowser control to navigate a local html file which contains js and css file links, so when my application navigates that local file I get an unwanted security warning information bar, can anyone suggest how to turn it off using C#? I know that I can turn it off in IE settings,and can use frame, but I don't want t...

Embedding a web browser in a C/C++ Win32 App

Hi, I want to build an app that does the following: 1) Take a user-supplied PHP script and pass it to the PHP interpreter to execute it. 2) Take the output, whether it be from memory or a temp file, and pass it to a Web Browser hosted in the app, to show the HTML 3) Handle the http requests I.E. the user's clicks, so instead of making...

How to increase spacing between lines in webbrowser control

HiI am using C# webbrowser control in design mode to give users an ability to create templates for their work, Can I somhow decrease and increase line spacing in this control in design view? ...

System.Windows.Forms.WebBrowser.Print() displays print dialog

From MSDN: This method prints the current document without requiring further user input. To display the Print dialog box prior to printing, use the ShowPrintDialog method. But when I execute .Print() in my code, I always get the normal Windows printer dialog box. My question is simply: how do I avoid display of the printe...

COMException in WebBrowser inicialization

Program is crashing then it tries to initialize webbrowser. OS:Microsoft Windows NT 5.1.2600 Service Pack 2 CLR version: 2.0.50727.42 ---> System.Runtime.InteropServices.COMException (0x80040154): Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) at System.Windows.Forms.UnsafeNativeMethods.CoCreateInst...

YouTube XL in WPF WebBrowser?

I'm trying to create a simple HTPC interface and found YouTube XL (http://youtube.com/xl) which i thought would be cool and easy to add to my program. I'm using WPF so i simply tried to add a System.Windows.Controls.WebBrowser and navigate to that adress. The problem is that there is no video, everything else around the actual video wo...

WPF Webbrowser Control proxy'ing external URL's.

The webrowser control has a navigating event that is raised before the browser navigates to a URL, but what I need is a preview event for when the webbrowser requests referenced media/pages/css. For example when a image tag is seen by the control, it will request the image from its URL. I need to proxy this URL to decide if I should dis...