Sub WebView1_OverrideUrl (Url As String) As Boolean
'Test whether this Url points to a file.
'For example:
If Url.EndsWith(".pdf") Then
Dim p As PhoneIntents
Dim i As Intent
i.Initialize(p.OpenBrowser(Url)
Return True
Else
Return False 'let WebView process the Url
End If
End Sub