-
winsock chat
in winsock chat i have webbrowser1 as chat window so what i want to do is when i or other users enter www.google.com and that link is clicked my webbrowser1 shud not act to that link it shud instead load webbrowser2 for every link that is clicked from webbrowser1
-
Re: winsock chat
Trap the link in WebBrowser1_BeforeNavigate2
Code:
Private Sub WebBrowser1_BeforeNavigate2(ByVal pDisp As Object, URL As Variant, Flags As Variant, TargetFrameName As Variant, PostData As Variant, Headers As Variant, Cancel As Boolean)
WebBrowser2.Navigate URL
Cancel = True
End Sub