Private Sub Application_OpenUrl (Url As String, Data As Object) As Boolean
If Url.StartsWith("file://") Then
Dim su As StringUtils
Dim f As String = su.DecodeUrl(Url.SubString(7),"utf8") 'remove the file:// scheme.
TextView1.Text=File.ReadString("",f) 'Just for testing - se some error...
Try
TextView1.Text=File.ReadString("",f)
Catch
Msgbox("Error loading file", "")
End Try
End If
Return True
End Sub