Does anyone see a problem with this code, cause it aint working. I'm trying to grad the html from a browser I opened a write it to a text file.
I have references to Internet Controls
Here it is.....
Set IE = New SHDocVw.InternetExplorer
IE.Visible = False
IE.Navigate (" Dim doc, shl
Set doc = IE.Document
Dim fs, F, ts
Set fs = CreateObject("Scripting.FileSystemObject"
fs.CreateTextFile "/windows/temp/parsein.tmp"
Set F = fs.GetFile("/windows/temp/parsein.tmp"
Set ts = F.OpenAsTextStream(2, -2)
ts.Write doc.documentElement.OutterHTML ***this isn't getting the html!!!!
I have references to Internet Controls
Here it is.....
Set IE = New SHDocVw.InternetExplorer
IE.Visible = False
IE.Navigate (" Dim doc, shl
Set doc = IE.Document
Dim fs, F, ts
Set fs = CreateObject("Scripting.FileSystemObject"
fs.CreateTextFile "/windows/temp/parsein.tmp"
Set F = fs.GetFile("/windows/temp/parsein.tmp"
Set ts = F.OpenAsTextStream(2, -2)
ts.Write doc.documentElement.OutterHTML ***this isn't getting the html!!!!