webbrowser

How to control application from WebBrowser Control?

I've googled it, but came out empty. And the worst thing is that I know it is possible. Anyway, I'm developing an application that uses the WebBrowser control to display information regarding an object (like Outlook does with the Rules and Alerts dialog box). My question is how do I do for the click on a, say, hyperlink in the WebBrows...

Webbrowser Control & Javascript: Form doesn't update after changing Elements

Hi Guyz! I have a problem concerning the Webbrowser Control in VS2005 (.NET 2.0). I have a site containing this html code: Button which I want to submit Button that gets submitted Okay, with SetAttribute (either in C# or Javascript) I'm changing the type attribute of button1 to "submit" and the type attribute of button2 to "but...

is it possible to use ant to detect browser type and application version from a webpage?

I'm trying to use it for my cruisecontrol report so it will show the browser type and the version of my webapp, which can be found on the initial page ...

Why is JavaScript considered bad by some?

Why is JavaScript allowed to be disabled in the browser? (i.e. Why is it considered bad?) ...

Simulate keypress in a non-visible webbrowser object C#

I'm currently working in an application that has to navigate a webpage and recollect data about products, prices, ... with webbrowser object in .net 3.5. The problem is that the page has some fields with a suggest script in ajax, and I can't simply modify the innerText property because the script also saves codes in a hidden input field...

Is it possible to get unbuffered web browser output?

I have a small cgi script that fetches and validates a configuration file for Nagios. The typical run time is several minutes, and I would like to get some feedback in the browser during the run. To illustrate what I would like to happen, consider this: #!/bin/sh echo "Content-type: text/plain" echo for i in A B C D E do echo...

Receiving complex javascript values through external interface

I'm trying to receive and potentially send complex values through TWebBrowser (using TEmbeddedWB) with the provided external object. For example; in javascript I would try to use the exposed method with an array as a parameter: var test = [123, 'abc']; external.someFunction(test); //Or something more complex var complexObject = { som...

The application freezes when closing WebBrowser controls

I am new to WinForms and I'm trying to use the WebBrowser control on GNU/Linux with Mono. It runs fine, but when I close the form I get strange warnings, and the application freezes when I try to create another form containing a WebBrowser. In fact I can launch as many browsers as I wish, until I close one. Then if I create a new one th...

Session for a Tab in ASP.NET.

In ASP.NET a session is for the browser. But how can I create a session for a tab? ...

Can I use ChangeWindowMessageFilter to receive DocumentComplete events from Protected Mode IE?

In my app, I want to open a new IE window, then receive and process DocumentComplete and NavigateComplete2 events fired from the new opened IE. In XP, everything works fine. In Vista, the new IE is running in Protected Mode, so my app is not able to receive DocumentCompelte event from the IE. I do not want to change any security level,...

Do cross-domain policies restrict downloading from different protocols for the same domain?

Cross-domain policies restricts downloading content from another domain: http://mysiteA.com <--NO--> http://myothersite.com But is downloading from the same domain via a different protocol allowed and would it work (can someone test) in everyday web browsers? http://mysite.com <--?--> https://mysite.com ...

How to scroll to a text location in WebBrowser control in C#?

How to scroll to the location of any text automatically in the WebBrowser control in C#. Lets say, I way to scroll to the third instance of the word "ABCD" in the webbrowser control, how to do that? I can identify the location, but how to scroll to that word, or convert that word location in innerText to Point location in Browser screen....

Scrolling WebBrowser programatically sometimes doesn't work

I'm using the System.Windows.Forms.WebBrowser control and I need to do programaticaly scrolling. For example, I use this code to scroll down: WebBrowser.Document.Body.ScrollTop += WebBrowser.Height The problem is that in some sites it works but in others it doesn't http://news.google.com (works good) http://stackoverflow.com/ (doesn...

How to enable top tabs in Safari 4

In the beta versions of Safari 4, the tabs were displayed in the title bar of the window. When Apple released Safari 4 final, they repositioned the tabs to the usual place since Most of the users didn't like the top tabs. Anyway, I liked them very much. Is it possible to reenable the top tabs in Safari 4 final? ...

IHTMLTxtRange.Move method...

I am trying to find a way of enabling scrolling through words with Ctrl+ arrow keys on my web browser control, I have a key down event on the browser body as the text inside it needs to be edited with shortcut keys. On the event that i want to scroll through words i have used IHTMLTxtRange.move("word", 1) but this does absolutley nothing...

System.Windows.Forms.WebBrowser -- Scroll to End?

Hello, how can you scroll to the end of a system.windows.forms.webbrowser programmitacly? ...

How do I browse the local directory's files without using OpenFileDialog? (C#)

Hi There, I want to build something where the user to browse the local files on the application I am providing, the screen is actually identical to OpenFileDialog, but I do not want that to be a dialog but a control on my form. I tried to use a Web Browser control, it works, but I have to write a bunch of navigation code in order for t...

Auto detect mobile browser (via user-agent?)

How can I detect if a user is viewing my web site from a mobile web browser so that I can then auto detect and display the appropriate version of my web site? ...

Why doesn't the webpage appear? What is missing in my code?

Hi, I'm trying to make my own webbrowser with C#, my wpf application seems to be correct. but it's still missing something. the webpage doesn't appear. :s Does someone have an idea? Here's my code in C# : public partial class Window1 : Window { public Window1() { InitializeComponent(); } private void textBox1_...

How to Set User-Developed Web Browser as the Default Browser?

I am developing a web browser in c#.. i need to give option to the user for my web browser as set to Default browser??? how is it possible ...