This thread is (almost) a duplicate. The original was posted on the Symanec: Norton Antivirus forum at
As the problem relates to automating the IExplorer through VBA, I also post my severe problem on this forum
I have used the following function for years to extract information from WebPages. I have used it in Excel and Access 2003 and
2007 without a problem. The environment included Norton 2006 and later 2007. But after I upgraded - without any other change - to Norton 2008
it broke.
The function is called repeatedly to consult different webpages. After 3 to 5 calls, it stalls at the blue instruction and then it ends with
Runtime error 430: Class does not support automation or does not support expected interface.
When subsequently I shutdown my system, I get an error message: DDE Server Window does not react.
My guess is that somewhere Norton 2008 must interact in another way with a automated (programmed) call to the InternetExplorer. Could it be some kind of memory leak?
_________________________________
In theory, there is no difference between theory and practice. In practice, there is. [attributed to Yogi Berra]
As the problem relates to automating the IExplorer through VBA, I also post my severe problem on this forum
I have used the following function for years to extract information from WebPages. I have used it in Excel and Access 2003 and
2007 without a problem. The environment included Norton 2006 and later 2007. But after I upgraded - without any other change - to Norton 2008
it broke.
The function is called repeatedly to consult different webpages. After 3 to 5 calls, it stalls at the blue instruction and then it ends with
Runtime error 430: Class does not support automation or does not support expected interface.
Code:
Public Function WebPageBodyString(strUrl As String) As String
Dim strResult As String
'create a hidden instance of IE
Dim objIE As SHDocVw.InternetExplorer
[COLOR=blue]Set objIE = New SHDocVw.InternetExplorer[/blue]
'open webpage
On Error GoTo PROC_ERROR
objIE.Navigate strUrl
'wait for page to complete loading
Do Until objIE.ReadyState = READYSTATE_COMPLETE
DoEvents
Loop
strResult = objIE.Document.body.innerHTML
PROC_EXIT:
objIE.Quit
Set objIE = Nothing
WebPageBodyString = strResult
Exit Function
PROC_ERROR:
strResult = vbNullString
GoTo PROC_EXIT
End Function
When subsequently I shutdown my system, I get an error message: DDE Server Window does not react.
My guess is that somewhere Norton 2008 must interact in another way with a automated (programmed) call to the InternetExplorer. Could it be some kind of memory leak?
_________________________________
In theory, there is no difference between theory and practice. In practice, there is. [attributed to Yogi Berra]