ThirdPartyUrlBlocked Event

Fired when a third-party URL is blocked.

Syntax

        Private Sub object_ThirdPartyUrlBlocked( _
	ByVal URL As Variant, _
	ByVal dwCount As Long)

Parameters

object
Object expression that resolves to the objects in the Applies To list.
URL
A String that specifies the entire original Uniform Resource Identifier (URI) input string.
dwCount
Not used. Always zero.

Remarks

Windows Internet Explorer fires this event but does not respond to it. The event is intended for use by Browser Helper Objects (BHOs).

The URL parameter returns the exact URL blocked by the browser. Subtle variations in the URL syntax can make this string difficult to parse. Use CreateUri to canonicalize the URL and use the IUri interface to break it into parts.

Applies To

InternetExplorer, WebBrowser

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.