Try If IsConnectionAvailable("http://google.com") = True Then MapBrowser.Navigate("http://localhost") ' Me.BackgroundImage = System.Drawing.Image.FromFile(ImgBackground) Else MapBrowser.Navigate("http://yahoo.com") Timer4.Start() End If Catch ex As Exception MsgBox(ex.Message()) End Try
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)