VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Disable IE Popup Windows

by Karl J. Sak (3 Submissions)
Category: Internet/HTML
Compatability: Visual Basic 3.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (4 Votes)

Disables IE popup windows by using an VB Front-end browser and redirecting the popup window to a second invisible webbrowser control.

Rate Disable IE Popup Windows

Private Sub Form_Load()
' navigate to a website, I suggest www.aol.com
WebBrowser1.Navigate "http://www.aol.com"
End sub
Private Sub WebBrowser1_NewWindow2(ppDisp As Object, Cancel As Boolean)
'this sets the popup window to another browser control
'in which webbrowser2.visible = false
Set ppDisp = WebBrowser2.Object
End Sub

Download this snippet    Add to My Saved Code

Disable IE Popup Windows Comments

No comments have been posted about Disable IE Popup Windows. Why not be the first to post a comment about Disable IE Popup Windows.

Post your comment

Subject:
Message:
0/1000 characters