shdocvw

IE Automation Book or Resource?? using MSHTML/ShDocVw VB.Net

Can anyone recommend a book or a website that explains Internet Explorer Automation using VB.NET? I understand that mshtml and ShDocVw.dll can do this, but I need a resource that will explain it to me. I want to read/write values as well as click buttons. The only book I have come across so far is .Net Test Automation Recipes. Is this t...

Using WatiN, how can I access the head part of the page, specifically the meta tags?

WatIn provides great functionality for programmatic access to the displayed parts of a Web page. I want to access the head part of the page, spedifically the META tags. Watin allows me access to the TITLE, but AFAICT nothing else. There is an InternetExplorer property which allows access to ShDocVw.InternetExplorer. I suspect this mi...

SHDocVw.WebBrowserClass register to refresh event

is there a way to know when the user perform refresh to the page using the SHDocVw.WebBrowserClass of ie using C# ...

using Interop.SHDocVw.dll Where can i find this namespace/dll at?

I've done this before, I don't remember if i downloaded the DLL from off the net or something but i don't want to get a virus. I need access to this namespace so that I can have extra features that the Webbrowswer control doesn't offer. How do I add a Com reference exactly. Or do I need the dll from someplace Thanks ...

c# using SHDocVw.InternetExplorer. How can I find the URL of the last link clicked? Or the most recent get request URL?

I am accessing the SHDocVw.InternetExplorer from the SHDocVw.ShellWindowsClass(). I can see the page that the browser instance is currently on (the LocationURL property), but what I really need is the last get request that was done for the browser. My specific need is that my application was just launched to handle a file that was down...

SHDocVw insert element in document.body?

Hi, I am trying to inject html and js into an IE from a bho. To get the body I use: Code: public static SHDocVw.WebBrowser webBrowser; HTMLDocument document = (HTMLDocument)webBrowser.Document; IHTMLElement body = (IHTMLElement)document.body; My idea was to use body.appendChild but that will only work for the webbrowser control and no...

How do I get SHDocVw.InternetExplorer to reuse the same window in Vista like it does in XP?

I am working on a program that uses IE to display its help pages. I am using C# in Visual Studio 2008 compiling to .Net Framework 2.0 In Windows XP everything works as expected. In Vista every time I click on a help button I get a new window with a new IE browser. Has anyone else seen this or know how to get around this? Here is the...

WebBrowser control

Ok, so here's the deal -- I'm running a Windows Forms WebBrowser control from a service. I know thats a no-no, but it seems to work alright. The only thing I'm running into a problem with is trying to wait for the browser's pages to load. In a normal application, I'd just do something like while (browser.readystate != complete) Appli...

IWebBrowserApp.Navigate() How to send Post Data

I would be very glad if someone could show me a good example of how to send POST data with the Navigate Method, available through SHDocVw.IWebBrowserApp. Considering for example. That the page were we should go is: http://example.com/check.php And should send the values of two input fields named: username and password. EDIT I'm att...