Search Tools Links Login

Automatic Webbrowser Popup Killer


This code is very usefull for webbrowser developers to block all popup windows if they look like popup windows eg. no toolbars....without Killing the 'open in new window' command.

Original Author: Ali Damji

API Declarations

'Code By Ali Damji
'Email Me At ali_damji@hotmail.com

Code

Private Sub WebBrowser1_OnToolBar(ByVal ToolBar As Boolean)
On Error Resume Next
If ToolBar = False Then
Unload Me
End If
End Sub

About this post

Posted: 2003-06-01
By: ArchiveBot
Viewed: 105 times

Categories

Visual Basic 6

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.