blackbookcoder2
asked on
how can I use Dim fra As SHDocVw.InternetExplorer when my reference to Microsoft Internet Controls is a file called ieframe.oca
how can I use Dim fra As SHDocVw.InternetExplorer when my reference to Microsoft Internet Controls
is actually ieframe.oca?
Here's what I want to do:
Dim fDoc As HTMLDocument
Dim fra As SHDocVw.InternetExplorer
Dim x As Integer
Set fDoc = WebBrowser1.Document
For x = 0 To fDoc.All.length - 1
If TypeName(fDoc.All(x)) = "HTMLFrameElement" Then
Set fra = fDoc.All(x)
Debug.Print fra.Document.location.href
End If
Next
Set fDoc = Nothing
Set fra = Nothing
Thanks in advance.
is actually ieframe.oca?
Here's what I want to do:
Dim fDoc As HTMLDocument
Dim fra As SHDocVw.InternetExplorer
Dim x As Integer
Set fDoc = WebBrowser1.Document
For x = 0 To fDoc.All.length - 1
If TypeName(fDoc.All(x)) = "HTMLFrameElement" Then
Set fra = fDoc.All(x)
Debug.Print fra.Document.location.href
End If
Next
Set fDoc = Nothing
Set fra = Nothing
Thanks in advance.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER