webbrowser

How to find a button with "value" in html page (Webbrowser - Delphi)

Hi , i have a html page that it have 3 forms with 3 submit buttons . buttons have no name but they have value : <input type="submit" VALUE="Login"> How can i find this button with its value and click on it ? Thanks ...

Printing a WebBrowser in a foreach loop

Hi All, I have a collection of urls in an arraylist. Now, I need to print the webpage in each url using the WebBrowser control in my Windows Forms applcaition. Can anyone pls help me out on how to do this. Thank you. ...

What is the correct way to determine the type of a file returned by a web server?

I've always believed that the HTTP Content-Type should correctly identify the contents of a returned resources. I've recently noticed a resource from google.com with a filename similar to /extern_chrome/799678fbd1a8a52d.js that contained HTTP headers of: HTTP/1.1 200 OK Expires: Mon, 05 Sep 2011 00:00:00 GMT Last-Modified: Mon, 07 Sep ...

How can I get feedback/interaction from the .NET WebBrowser control?

I am building some kind of eBook reader in C# and have the following problem. Rendering HTML in the WebBrowser control just works fine. However, I want to be able to mark text samples with the mouse. This should be available via a button event or (even better) by click-and-drag directly onto the text. How can I get the feedback of the mo...

Navigation controls for a WPF Frame/WebBrowser with POST data

Hi, I need to display a web page inside a UserControl. To navigate to the web page I need to provide POST data. So far, so good. But I also need is to have some navigation controls (back/forward) to function according to the user's navigation inside the web page (just like a normal browser would act). What I tried so far is to put a Web...

WebBrowser automated login maintin session usning .navigate() in same website?

I have a problem maintaining the session after logged in successfully through automation using the: doc.GetElementById("username").SetAttribute("value", "user"); doc.GetElementById("password").SetAttribute("value", "pass"); doc.GetElementById("submit").InvokeMember("click"); it directs to the main page after logged in. How do i navig...

How to capture the "JavaScript SetCookie event" in a WebBrowser?

How to capture the "JavaScript SetCookie event" in a WebBrowser? I want to synchronize the cookie to a CookieContainer when a javascript setcookie event occurred simultaneously. such as <script>document.cookie="testcookie"</script> Is there an event related to this ? thanks. Environment: .Net 2.0 WebBrowser, C#, VS2008 ...

How to get the "Text" of a html page ? (Webbrowser - Delphi)

Hi , I'm using WebBrowser to get source of html pages . Our page source have some text and some html tags . like this : FONT&gt;&lt;/P&gt;&lt;P align=center&gt;&lt;FONT color=#ccffcc size=3&gt;**Hello There , This is a text in our html page** &lt;/FONT&gt;&lt;/P&gt;&lt;P align=center&gt; &lt;/P&gt; Html tags are random and we can not ...

WPF WYSIWYG editor using webbrowser

How do I suppress the "This document has changed, do you want to save the changes" when I use NavigateToString on the WebBrowser control? The solution in question 1073366 doesn't work with the WPF WebBrowser. ...

Text-based web browsers era passed away?

Hi Stackoverflowers, Do you think text-based web browsers era has reached the end? Please try to enumerate your reasons by topics like CSS, Scripting, etc. Thanks in advance, ...

HTML Standards and deviating browsers

Good evening everyone. This is a story anyone developing web applications is surely aware of - You create a site, which is well coded and elegant in the browser of your choice - until you run it in a different browser, which a lot of the time required hacking and slashing to create a functioning site. I wish to enquire the techniques u...

How do i catch page cannot load message?

Hi i hope someone can help, In basic terms i am trying to stop the embeded browser, in my Windows Forms app, from navigating to the 'This program cannot display the webpage' page and instead display my own error page. The C# application is a Web Browser embedded in my Windows Forms, its purpose is allowing the user to click on the provi...

VB Set a timeout for every page in the webbrowser elemen

Hi To all dear coders, today i have writed because i'm in very i can't find any good functions in Visual Basic 2010 for add a timeout in every page loaded by webbrowser.. I would like for example that.. My webbrowser navigate to a page,that page need 40 seconds for full load but i would like setup a timeout of 30 seconds that ...

System.Windows.Controls.WebBrowser and LoadCompleted for (i)Frames?

Is it possible to be notified if the location of an frame or iframe of an document in my System.Windows.Controls.WebBrowser changes? LoadCompleted does not work for (i)frames. ...

How to Suppress the JavaScript error tht pops up while printing the WebBrowser content??

Hi All, In my windows application I'm loading more than 100 urls in my web browser control one by one in a for loop and need to print them programatically after each URL gets loaded . But, I keep getting the Javascript error for so many URLs. I'm not sure why this error keep coming. Can anyone help me on how to suppress the javascript e...

Finding HTTP_REFERER empty/blank when using URL shortener site

I have a client who is trying to determine traffic metrics, to his site by way of those "URL shortened" sites: (tinyurl.com, bit.ly and x.co) to be specific, and to take action based on that traffic... We would have thought that the HTTP_REFERER variable would have held the referring resource name, the shortened URL from that service. ...

How to click on </span> Tag ? (Webbrowser - Delphi)

Hi , how can i click on a "< / span>" tag in a html page ? like this : <span id="_ID_">Hello There</span> Is it possible ? Thanks ...

Link Tracker C#

I am creating a download manager, and I need to be able to find out what link was clicked on (so my download manager can begin downloading the file), and also need to be able to stop the browser from launching its default download manager. Does anyone know how to go about doing this, or know of any links to articles/tutorials/related do...

Use multiple WebBrowser tabs for 1 flex Application.

Hello everyone, I'm developing a flex application to view charts and statistic data about real-time stock price. The requirement is that 1 user can view multiple windows (or panel, or canvas) of multiple stock symbols at the same time. I want to have 1 button, when I click at that button, a new panel will be pop up in a new WebBrowser...

Extracting Specific record from webservice XML

How would i go about extracting specific information from the XML returned from a webservice. The webservice is called from an embedded webbrowser in a C# windows form. I was thinking that mabey i could save the displayed data as XML file and read from that though it would need to be automatic and not use the save dialog that webbrowse...