I have a web browser (System.Windows.Forms.WebB
rowser) control in my VB.NET windows application. I load some URL into this control. Then I loop through all the element in WebBrowser1.Document.DomDo
using the mshtml.IHTMLElement as the element interface and try to get some of the properties of the elements (like id etc.).
tedStyle Method (http://msdn.microsoft.com/en-us/library/aa752657(VS.85).aspx
), but I am not able to use it from VB.NET. Looks like mshtml does not support it from VB.
Is there any other way or approach that I can use so that I can get the computed CSS styles getting applied to a particular element from VB.NET or C#.NET??? I really need to be able to get the computed CSS styles. Will greatly appreciate if some one will be able to help me out.