I am at my wits' end.
I have the following code:
WebBrowser1.Navigate ("c:\path\page.htm")
Text1.Text = WebBrowser1.Document.Links.length
Where the page.htm has the following HTML:
<html>
<head><title></title></head>
<body>
<h1>Test</h1>
<a href="somepage.htm">Link</a><br>
<a href="anotherpage.htm">Second Link</a><br>
<a href="andonemore.htm">Third Link</a><br>
Test
</body>
</html>
Page loads into browser control fine, but the value that appears in
the TextBox control is "0". This is the same value I get when I query
any of the collections in the Document object. I cannot figure out
what magic I need to perform to be able to analyze the document object
that is current loaded in the WebBrowser control. Any help you guys
could give me would be greatly appreciated.
Further info:
VB6
WinXP
TIA
Mark