Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IE batch mode through many html files?????

Status
Not open for further replies.

cucswiz

Programmer
Jun 25, 2001
13
US
I am trying to run through a bunch of html files using an InternetExplorer object

The stucture is something like this:
///////////////////////////////////////////////////

Dim ie As InternetExplorer
Dim someArray() As String

Private Function Nav()
For counter = 1 to 5 Step 1
ie.Navigate(someArray(counter))
Next counter
End Function

Private Sub ieEvents_DocumentComplete(ByVal pDisp As Object, URL As Variant)
If pDisp Is ie Then

Set doc = ie.document
callFunctionForAnalysis

End If

End Sub

//////////////////////////////////////////////

However, I always get this error:

Run-time error '-2147417848 (80010108)':

Automation error
The object invoked has disconnected from its clients


Does anyone know how to solve this... or does anyone have a solution to my problem. I basically want to run my program in batch mode. Give it a bunch of html files, and perform some analysis on them

Need help.. if you have any experience with this.. please let me know.. Thanks

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top