Click here to Skip to main content
15,901,666 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
Hello everyone,

I have a program that gets the date from UK.
VB
Dim fileReader As New WebClient()
If File.Exists(LogConst & "TEMP_FILE") Then File.Delete(LogConst & "TEMP_FILE")
fileReader.DownloadFile("http://www.worldtimeserver.com/current_time_in_GB.aspx", LogConst & "TEMP_FILE")

In my pc, this works properly, when I try this to another pc I'm getting an error (in ex.Message)
Unable to connect to remote server.

The file that the fileReader download is I'm going to get/parse the server date.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900