webbrowser

How do I detect which version of Internet Explorer is installed?

Is the best way to look under the Uninstall key of the Windows Registry? Is there a Microsoft API call which provides this info and is it supported from XP onwards? What is the best way to detect which version of Internet Explorer is installed on the local machine? ...

Webbrowser Find Previous (text)

Hi, I am trying to implement search routines: Find Next and Find Previous in Webbrowser. I know that there is Build-in Find dialog inside, but I do not want to use it. Instead I am trying hard to write my own routines, but I can not get through. Following code implements "Find next" nicely: using mshtml; .... private void toolStripBu...

What do internet browsers use for rendering?

Hi, very quick one, I was always wondering, do internet browsers use for rendering OS API functions to create buttons, render mages and so, or do they render it all on their own? I first thoght that it uses system api, but there are some effects like when screen fades into grey and you see only small window in the middle, you know, thet...

Web browser most suitable for web development

Which web browser is most suitable for web development? To be precise which browser has better and more add-ons supporting web development? Please tell me the corresponding add-ons also. ...

How can I change WebBrowser1 rendering mode programmatically?

Ok so i know how to do it. I already have. Problem is I did it manually. So my question is how to create/edit the registry key programmatically. I'm using vb.net but can understand C#. I've read some tuts but never got them to work.....i create open a new key but i think the problem is editing it. Any help would be appreciated. They reg...

Websocket (javascript) vs Silverlight (ruby, python, javascript, c# etc)?

Just for clarification, is the question: websocket vs silverlight? Cause websocket is based on HTML enabling the web browser and web client to talk with each other live. Does this mean that developers cannot use Ruby/Python in client side, but only Javascript? If I use Silverlight, then it seems possibly for developers to use Ruby/Pyth...

when is the :visited pseudo-class applied to a hyperlink

I have some questions about the :visited pseudo-class: Based on what do browsers decide when the :visited pseudo-class should be applied to a hyperlink? Do they take this information from the browser's page history or is it stored per-session or somewhere else? Is it possible (for the developer of a web page) to control for how long th...

Web browsers interacting with desktop?

What languages/techniques are used for letting the web browser interact with the desktop, e.g. dragging files to the web browser, dragging files from web browser to desktop, and maybe more features that I'm not aware of. I think flash and silverlight allows you to do that but I'm not sure. Does javascript do this? ...

What charset to use when sending a response to a javascript XMLHTTPRequest 'get' request

I want to send a response to a get request made by the javascript object 'XMLHTTPRequest.' The response content-type will be 'text/plain'. I would like to add a 'charset' to that (i.e. 'Content-Type:text/plain;charset=UTF-8') What encodings does javascript work with natively and what encodings will work with javascript on all browsers...

fill 2 form one field in common with c#

I need to fill two forms in the same website, my issue are the field because they have the same name, e.g. the password field in both form is pass, so how can i fill both? the code to fill fields I'm using is this: WebBrowser1.Document.GetElementById("pass").SetAttribute("value", stringpassword); thanks ...

Opening a website frame or image in python

So i am fairly fluent with python and have used urllib2 and Cookies a lot for website automation. I just stumbled upon the "webbrowser" module which can open a url in your default browser. Im wondering if its possible to select just one object from that url and open that up. Specifically i want to open a "captcha" so that the user can in...

How to execute JavaScript in Visual Studio design mode?

I have a JavaScript that generates HTML on my web page (AJAX control). Now I need to create a ASP.NET Control that is visible at design time. It should look exactly like the original AJAX control. Any ideas about how to execute JavaScript at design time? Unfortunately I cannot create all the required HTML in .Net as it is too large and c...

What browsers support HTML 5 / CSS3

Was reading that IE9 will support HTML 5/ CSS 3 What other browsers support this? ...

How Do I Set MIME Type Of A Local File?

I want to be able to set the MIME type of a JavaScript file so that when the file is opened in an internet browser, it is automatically executed. How would I go about doing this? Thank you in advance for your help ...

What do I need to do to use the System.Windows.Forms.WebBrowser control in a WCF service?

I believe the WebBrowser control is STA and a WCFservice hosted in a NT Service is MTA ? Thanks. ...

C# WebBrowser Controll with javaScript and html

I try to use the WebBrowserControll with C#. I use the following Code. The WebBrowser Controll open the Web Page and if there is a href= blank it is also oppend in an new WebBrowser Controll. But If I want to open an new JavaScript with window.open it doenst open an new WebBrowser Controll. What I have to do that a href= blank and a Java...

How to download a file through a http Asynchronous Pluggable Protocol ?

I write a temp http protocol and the Code is as follow, it works well for web pages navigating, but cannot for file download, such as http://**/111.zip . How to modify the code ? Envrionment: .Net 2.0, VS2008, C# public void Start(string szURL, IInternetProtocolSink Sink, IInternetBindInfo pOIBindInfo, uint grfPI, uint dwReserved) ...

wait for web page to load completely using python

Hi , Is there any way that I can find out using webbrowser or anyother package in Python if a browser window that I've opened has loaded completely or not? Once it's loaded completely I want to take a screenshot of it and save it. ...

Webservice throws internal server error when webbrowser control is used

I have a web service, created using C#. For some reason, it seems to throw a 500 internal server error whenever I invoke my exposed method. I set some breakpoints and found the following line is what does it: m_Browser = new WebBrowser(); Any idea why this line would cause my service to crash? The WebBrowser control is in the System.W...

Block images from loading in webbrowser with site exceptions.

I'm currently blocking all images from loading in the webbrowser control by using this registry key. I would like to find a way were i could allow images from some sites to be shown. Any help would be welcome ...