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
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