xXAlphaXx
New member
- Joined
- May 8, 2011
- Messages
- 4
- Programming Experience
- 1-3
Okay, I have tried a few other forums and looked through a lot of lines of code. I hope you guys can help me.
Okay, so basically I am developing an application that acts as a "game launcher." As it is we make many updates too our files so I need to include an auto updating function too this launcher.
For the sake of the question let's say that I have a file called "data1.dat" that we recently made a change too and now we need it to be downloaded whenever a user launches our game launcher.
I don't need any assistance of it setting it up server side because it is going to be all located through URLs of where to download. (I hope that makes sense.)
So, when the applications launches I want it too access the programs file called "config.ini" too check the version number, after that I would like it to check the "config.ini" on the server, if the number on the server is higher, the launcher proceeds to downloads the updated "data1.dat" and replaces the old "data1.dat" in the client.
Now, It doesn't need anything super complex as closing the launcher after the update because "data1.dat" is not being used in the launcher.
Honestly, I have been having a lot of problems with understanding how to do this so this is about how far I have gotten...
Any help would be much appreciated!
Okay, so basically I am developing an application that acts as a "game launcher." As it is we make many updates too our files so I need to include an auto updating function too this launcher.
For the sake of the question let's say that I have a file called "data1.dat" that we recently made a change too and now we need it to be downloaded whenever a user launches our game launcher.
I don't need any assistance of it setting it up server side because it is going to be all located through URLs of where to download. (I hope that makes sense.)
So, when the applications launches I want it too access the programs file called "config.ini" too check the version number, after that I would like it to check the "config.ini" on the server, if the number on the server is higher, the launcher proceeds to downloads the updated "data1.dat" and replaces the old "data1.dat" in the client.
Now, It doesn't need anything super complex as closing the launcher after the update because "data1.dat" is not being used in the launcher.
Honestly, I have been having a lot of problems with understanding how to do this so this is about how far I have gotten...
VB.NET:
Private Sub Form1_Activated(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Activated
'check config.ini
'check server config.ini
'If server config.ini > config.ini Then
' Download all files from "WEBADDRESS"
End Sub
Any help would be much appreciated!