webbrowser-control

Forcing a reload in JQuery

I am making use of the Lavalamp plugin from http://nixboxdesigns.com/projects/jquery-lavalamp/ and everything seems to be working fine except that there is a little quirk when using the back button. For example: If you are starting off from the home page, the hover is underneath the home menu. Click on a new menu item, the hover appea...

C# - integration of limited web/js/jQuery local browser with "connected to Internet check"

I need some suggestions on libraries and such to use for a simple website-to-desktop wrapper project in Visual Studio 2010. The website has been "compiled to HTML", so that the only serverside functionality needed is an AJAX call to send data on user prompt (if there is no valid sever response after X seconds, a javascript timer indica...

How to check if html elements are rendered in a single line in WebBrowser Component?

I am using the WebBrowser component to display a web page. I need to know weather a desired HtmlElement is rendered in a single line, .e.g a line that no other readable text resides in. I suspect that there is no method that will always work... HTML is to complex and there are a lot of IE versions. But there might be a good heuristic, th...

Capturing all requests and responses from the web browser control?

Is there way to capture and print out all of the requests and responses from the web browser control including asynchronous requests? ...

How to use an invisible System.Windows.Forms.WebBrowser?

I tried to run it without a container form, but the DocumentCompleted event doesn't fire. I tried to run it in a Form with opacity set to 0% but the process isn't completely hidden, since it appears to the user when he uses Alt+Tab I don't mind if the proccess appears on the Task Manager though. ...

Forms WeBrowser Document Ready event. How do I know when all Ajax calls are complete?

I am responding to the System.Windows.WebBrowser.DocumentComplete event in my application. However this event fires every time an ajax call completes on the page. I would like to know when the document is ready. Meaning when all calls out have returned. Any ideas? void WebBrowser_DocumentCompleted(object sender, WebBrowserDocumentComple...

.Net WebBrowser initiating web requests through secondary IP

IP I have 1 NIC with a primary IP and a secondary IP configured on it, is it possible to launch a new WebBrowser in .Net and initiate the web requests through the secondary IP instead of the primary IP? ...

Suppressing the Save/Open Dialog box in a WebBrowser control

Hi all, I have a WebBrowser control that is automatically logging me into a website and attempting to download CSV data automatically. Everything is working fine, except, when it tries to download the CSV data, it is popping up a dialog box, asking if I want to save the file or open it (just like in IE). What I am trying to do is automa...

C# - How can I block a method return for some interval of time?

I have a win forms application that contains a Web Browser control. I need to be able to add delay between operations on the web-browser due to the asynchronous nature of navigating. The Document_Complete event is worthless as it does not take into account that a page may contain multiple AJAX requests. The event ofter fires many times...

MSIEs WebBrowser control hosted in winforms app runs in compatibility mode

I'm hosting MSIE in a winforms form. Unfortunately it insists on running in compatibility mode regardless of if I give it a page that runs in IE8 mode in stand-alone IE. The effect of that is that some content that renders correctly in stand-alone MSIE gets completely mis-aligned and messed up in the hosted control. Besides document typ...

image resize on output with jquery

hi i have made a system using which a image would be re sized according to the browser window The example here The code example function scale_down() { scale = 0; console.log(img_width + ' ' + img_height); scale= ( img_width / winwidth ); if ( ( img_height / scale) < winheight ) ...

Webbrowser request useragent reverting back to normal

I have a VB.net application that I'm using to load a webpage with a specific useragent, it works once, but then the useragent reverts back to the default browser's useragent, why is this? It uses a loop on a timer like this: Private Sub Timer_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles Timer.Tick Try c...

Clear a Web Browser 'session' in VB 2010 express upon navigate away.

I have created an application in Visual Basic 2010 Express that is essentially a 'radio player'. It has half a dozen buttons and a web browser control. Each button links to an online 'listen live' radio station. Clicking each button simply navigates the browser control to the appropriate URL. Simples! My problem? One particular sit...

How to bring up Find dialog from a web browser control?

I have a web browser control which has navigated to a given page and is ready. Now I want to bring up the Internet explorer find dialogbox whenever the user clicks a specific button on my page. The user can already bring up the find dialog box by clicking 'ctrl+f', but I want a separate button for this action too. I have found this: htt...

events doesn't work with the InvokeCommandAction

i am using a webbrowser control and interaction-triggers , and there is some events which don't work like ScriptNotify and LoadCompleted is this an limitation or there is something i should do Thanks ...

webbrowser control

Hi experts, how to translate the scalled state of the webrowser control to the second screen(monitor)? tnx in advance! ...

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 do I force my IE-based webbrowser control to use specific authentication credentials?

I have a WPF C# client app with an embedded webbrowser control. I have all of the proper hooks in place so that if the site I'm browsing to requires authentication, I handle the IAuthenticate and pass in the required credentials (the user has already logged in to the client app itself). That works great, except... If user "Bob" visits t...

Programmatically changing the destination printer for a WinForms WebBrowser control

I'm trying to use an invisible WebBrowser control to print a very simple HTML document. Our application requires that we be able to print several documents this way, and that they all can be sent to different printers. Unfortunately, I haven't been very successful in making the output go to the right printer. The way it works right now...

Custom Information Bar in Internet Explorer 8

I'm developing a toolbar targeting IE8 and wish to use the Information Bar to show my own custom messages on this bar. I want to avoid launching annoying and obtrusive modal dialogs since this is a very bad experience. The Information Bar is a great way for toolbars and BHO's to show their users all sorts of messages. Thing is i'm not ...