xfrolox 9 Junior Poster in Training

im just learning this is not for my application, just in case in a future i need it...

so i have 1 Button Disable and Textbox1.text
so when webbrowser navigate to http://whatismyip.com/automation/n09230945.asp

works, i have this script ATM

Button 1

Dim WC As New System.Net.WebClient
TextBox3.Text = System.Text.Encoding.ASCII.GetString((WC.DownloadData("http://whatismyip.com/automation/n09230945.asp")))
            WC.Dispose()

Web Browser
Button2.Enabled = True

But I'm trying to make that when i don't have internet, button1 have to be disable ...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.