Hi All,

What is equivalent property of Window.document in vb.net?
Window.document it is the property in vb 6.0.What is equivalent property in vb.net?
in vb.net Web browser.document property is available,but I want Window.document equivalent property in vb.net.

Thanks,
Jayawant

Window.document it is the property in vb 6.0

No it isn't. It's the property of a HTML page loaded in the webbrowser control.

In VB.NET WebBrowser.Document

Gets the Document object that represents the hosted HTML page

and that's the same as what Window.document did in VB6. WebBrowser.Document has GetElementById() method to access HTML document's DOM. So, what you want to do with VB.NET that you did with VB6?

HTH

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.