Torna al Thread

Private Sub btnGetIP_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnGetIP.Click Dim wsGeoIp As New WebServiceClient.geoip.GeoIPService ShowStatusIndicators() Try wsGeoIp.GetGeoIP(IPAddress:=IPBox.Text) lblTime.Text = wsGeoIp.GetGeoIPContext.ReturnCodeDetails() 'wsLocalTime.LocalTimeByZipCode(txtZipCodeForTime.Text) Catch exp As Exception MsgBox(DataRetrievalError & wsGeoIp.Url, MsgBoxStyle.OkOnly, Me.Text) Exit Sub Finally ResetStatusIndicators() End Try End Sub
Copyright © dotNetHell.it 2002-2025
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5