webbroswer

WPF 3.5 WebBrowser control and ZIndex

I'm trying to figure out why the control does not honor ZIndex. Example 1 - which works fine <Canvas> <Rectangle Canvas.ZIndex="1" Height="400" Width="600" Fill="Yellow"/> <Rectangle Canvas.ZIndex="2" Height="100" Width="100" Fill="Red"/> </Canvas> Example 2 - which does not work <Canvas> <WebBrowser C...

IIS not serving shtml files properly, instead the browser tries to download the file

Hey Everyone. Okay, so I'm at a temporary office and they've given me a machine with XP to do dev on. Awesome. I've set the site up in IIS and I need it to serve shtml files. Problem is, when I browse to the shtml file, the browser tries to download the file, rather than display it properly. I've tried a few things that I've found on...

Webpage in WebBrowser Control too large, need to resize width.

I have a WebBrowser control on a form and have set the URL to a website. When I run the application the webpage is much larger than the size of the WebBrowser control and causes the WebBrowser to now contain a horizontal and vertical scrollbar. I would like the webpage width inside the WebBrowser control to be resized to the WebBrowser...

I want to make browser add-ons/extentions, which programming language do i need to learn?

Which programming languages do i need to learn to make browser add-ons/extentions for all the browsers out there? I have been told its Javascript? Thank you in advance. ...

The Webbrowser in WPF can't display page unless mouse moving on.

The Webbrowser in WPF can't display page unless mouse moving on. This bug can't reproduce in my demo project, and I don't know how to fix it. I tried: call WindowsFormsHost.UpdateLayout. (Failed) call WindowsFormsHost's child, a WebBrowser control. call WebBrowser.Update or WebBrowser.Refresh. (Failed) call WindowsFormsHost.Invalidate...

Show mail message in WebBrowser control

I'm trying to design a mailing system (.NET C#). Messages are stored in database in two tables: message(Message_id, Receiver, Sender, Subject, ...) //message's header message_parts(Message_id, Content_id, Part_type, Content) So, the content of message is divided into parts (html body, plain text body, sources for html, attachments)...

WebBroswer control - WM6.x - Can it executing an ActiveX control and JSP page

Hi, I am trying to develop an form containing WebBrowser control. I wanted to know if the WebBrowser control is - a. is it capable of executing an ActiveX control (used to take snaps with the integrated camera)? b. is it capable of executing JSP code? Thanks in advance. ...

Getting screenshot from Webbrowser control from single method as return value.

I need to write method which returns Image for passed URL or HTML. Am using WebBroser control to get screenshot, only problem is I am capturing screenshot at documentcompleted event, and I could not do this in single function say 'GetBrowserScreenshot(string html)' cause this event is getting fired asyc (this is what I think). How to w...