H
Hurley
I have a windows application that is using a webservice to get some
information used in the program. However, when I use the program
behind a firewall, the program just hangs there, trying to access this
webservice all the time, without reaching it. How can i set a timeout
in my program that can make it stop trying to reach that webservice?
Try
rate = objExchange.getRate(strCountry1, strCountry2)
lblUpdate.Text = "Last updated: " & Date.Now
Catch ex As Exception
lblUpdate.Text = "Connection failed"
End Try
lblKurs.Text = rate
Anyone have any suggestions? Thank you in advance,
Hurley
information used in the program. However, when I use the program
behind a firewall, the program just hangs there, trying to access this
webservice all the time, without reaching it. How can i set a timeout
in my program that can make it stop trying to reach that webservice?
Try
rate = objExchange.getRate(strCountry1, strCountry2)
lblUpdate.Text = "Last updated: " & Date.Now
Catch ex As Exception
lblUpdate.Text = "Connection failed"
End Try
lblKurs.Text = rate
Anyone have any suggestions? Thank you in advance,
Hurley