I'm using webbrowser control embeded in a winform in my C# app to do some scraping. The content I'm looking for is dynamically loaded with ajax. However, when I navigate to the page the content won't load unless I have no other code running. I tried doing
while(webbrowser1.isBusy);
But that's not helping. I also tried pausing the pro...
We have a problem with Flash in the .NET WebBrowser component. At a customer of ours, on half of the computers (150) the candidates can click on a Flex ComboBox but they cannot select anything in the ComboBox. If they click on an item in the ComboBox, the ComboBox closes itself but the item is not selected.
A possible idea we have is t...
Does the WebBrowser control in the .NET Framework store the previous navigated page in memory? If it stores the page, I want to delete these pages from memory. How can I do this in C#?
...
Hi All,
I am wanting to find out whether or not it is possible to inject JavaScript into the .NET WebBrowser control from outside the running application?
Thanks
STW
Clarification: I am wanting to know if someone can get hold of the internal process of the wrapped components and manually insert what they like into the "browser" por...
Does the WebBrowser control have any securtiy features included in it? I mean, if i use the WebBrowser control in an application then would using this browser be any more vulnerable than any normal browser, say IE, to securtiy attacks.
Does the WebBrowser control share or use security features of IE?
...
Is it possible to detect whether cookies are enabled in Internet Explorer through the IWebBrowser2 Interface or through some other WebBrowser Control C/C++ interface? I can't see any obvious way to do it, but was wondering whether there is a subtle way.
...
Hi,
we have embedded the .NET WebBrowser control (actually two in different tabs, if that for some reason may be important) in a dialog and are running into a strange problem. I have not been able to reproduce the problem outside the complete application, so I assume we're doing something with side-effects elsewhere. Because of this, I ...
I'm using the System.Windows.Controls.WebBrowser for various things in my app and I've noticed that adorners are cut off when they are supposed to appear over a WebBrowser. I realize that the WebBrowser control is really a wrapper around a COM component and probably renders differently, but I wondered if anyone figured out how to solve ...
I’m using the WebBrowser control as a html editor in a WinForm application I am building. I have a button which pastes some text into the WebBrowser control which works fine on every machine except 1! Here is the code behind the button click event:
Clipboard.SetText("Some text ...")
WebBrowser.Document.ExecCommand("paste", False, Nothin...
I have a webpage that loads, does some calculations and then does a JavaScript redirect to another webpage. It looks something like this:
http://www.mysite.com/startpage.html
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
$(document).ready(function() {
window.location = "http://www.mynewurl.com";
});
</head>
<bo...
How can I create a program with C# to submit the form(in the web browser CONTROL in windows Apps)automaticlly ?
...
I am attempting to write a VB.net application which will allow users to create their own widget plugins in html/jscript and i would like to set my own security options in the applications settings allowing users to choose what can run or not eg scripts, flash, activex.
I would like to allow activex controls to be used without the window...
Can I get the string without the html tags which will be displayed on the webbrowser control ?
Like I have String str = "html hello html" then I want to find the string like hello.
How can I do that?
...
I have a small application which embeds webbrowser controls. In that application I have created a popup class. This popup is used to display server generated error messages.
I want to be able to resize the popup to suit the message. This is so a short message is not contained in an oversize form and a large message is not in an undersiz...
I'm accessing a login page rendered in webbrowser control and i need to login to it from code behind. What i'm aiming is to automate the login authentication to the site i'm accessing. I'm using C#.net. please help..
Thanks,
jepe d hepe
...
I tried to use the WebBrowser control in an ASP .NET application:
public BrowserForm()
{
webBrowser1 = new WebBrowser();
webBrowser1.DocumentCompleted += new WebBrowserDocumentCompletedEventHandler(webBrowser1_DocumentCompleted);
}
private void webBrowser1_DocumentCompleted(Object sender, WebBrow...
How can i set the Windows Forms webbrowser control to block or allow cookies for the site it will navigate?
...
I am trying to make a simple experimental app. I'd like for it to behave like pastie.
On pasite you can paste code and it will remember your browser.
So if you paste the url (that pastie provides) in the same browser then you'll be able to edit the page. Everyone else will not see the edit link. Basically there is no registration or...
i would like to do a test to see if the following text shows up on my webbroswer control
<form method="post" action=""><table border="0" class="formPage"><tr><td colspan="2" class="msg">Link submitted and awaiting approval.<br />Submit another link.</td></tr>
Im looking for the text "Link submitted and awaiting approval."
...
I have a sample application, in which I am trying to load a text file in WebBrowser control. I have a html file through which I am calling Javascript function to open text file. But it is showing me error like;
Cannot find 'file:///C:/temp/test%2520page.txt'. Make sure the path or Internet address is correct.
File exist at this locatio...