这样判断一下:
Dim brw As WinForm.WebBrowser = e.Form.Controls("WebBrowser1")brw.Address = ProjectPath & "web\" & e.link.Text & ".htm"messagebox.show(filesys.FileExists( ProjectPath & "web\" & e.link.Text & ".htm"))