Private Sub brwWebBrowser_NewWindow2(ppDisp As Object, Cancel As Boolean)
Dim frm As Form
On Error Resume Next
Set frm = New frmWebBrowser
frm.Show
Set ppDisp = frm.brwWebBrowser.object
Err.Clear
end sub
Private Sub brwWebBrowser_NavigateComplete2(ByVal pDisp As Object, URl As Variant)
Dim i As Integer
Dim bFound As Boolean
For i = 0 To cboAddress.ListCount - 1
If cboAddress.List(i) = URl Then
bFound = True
Exit For
End If
Next i
If bFound Then
cboAddress.RemoveItem i
End If
cboAddress.AddItem url, 0
cboAddress.Listindex = 0
end sub
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 16