Hi friends,
I am trying to parse through a locally stored (i.e. physical) HTML document using Microsoft HTML Object library.
This is what I have so far:
Now the red part is the one bugging me: the file won't load into the variable. The value of myDoc is "about:blank", not the file.
What am I doing wrong?
Thanks for any help!
[navy]"We had to turn off that service to comply with the CDA Bill."[/navy]
- The Bastard Operator From Hell
I am trying to parse through a locally stored (i.e. physical) HTML document using Microsoft HTML Object library.
This is what I have so far:
Code:
Dim myDoc as HTMLDocument, lnk as HTMLAnchorElement, img as HTMLImg
...
set myDoc=new HTMLDocument
[red]myDoc.Open DaPath2MyDoc[/red]
For Each lnk In myDoc.anchors
'.... do something
Next lnk
For Each img in MyDoc.Images
'...and so forth
Now the red part is the one bugging me: the file won't load into the variable. The value of myDoc is "about:blank", not the file.
What am I doing wrong?
Thanks for any help!
[navy]"We had to turn off that service to comply with the CDA Bill."[/navy]
- The Bastard Operator From Hell