) CrossFire or CombatArms or what ever games are on earth when you open them sometimes they dont download any files from their patcher because THEIR DEVELOPERS DIDNT MAKE AN UPDATE FROM THEIR PC while vice versa when THEIR DEVELOPERS MAKE AN UPDATE FROM THEIR PC the patcher auto downloads it! any one has an idea of how to make something like wise? Public Sub CheckUpdate()
Dim Netw As New Net.WebClient
Dim Version As String = "Version 1.0"
'If Program version is not equal to the updated version at the text document then,
If Not Version = System.Text.Encoding.ASCII.GetString((Netw.DownloadData("http://mysite.com/MyProgram/Info/Version.txt"))) Then
MsgBox("A new version of the program is available!")
DownloadUpdate()
Else 'If it is the same.
MsgBox("The program is updated!")
'Codes here when its up to date ( You can leave it blank )
End If
End Sub
Public Sub DownloadUpdate()
'Download the update by using this code
My.Computer.Network.DownloadFile("http://mysite.com/MyProgram/Program.exe", "C:/Program Files/MyProgram/Program.exe")
End Sub
