View Full Version : Help me please
Virus Spy
03-07-2010, 08:14 AM
I want an updater for my project because I could not do it alone! Please it's urgent! If someone has an example he gives me his example with an explanation
I want an updater for my project because I could not do it alone! Please it's urgent! If someone has an example he gives me his example with an explanation
Ok I have to ask why wast people time as your request says nothing! if you want a fucntion that looks for a updated version of you well it can be done depending on how you program it many functions can be updated on the fly also but end of the day we don't know what in **** you want to update this is your first post and already become a fail please try harder in your future posts.
Virus Spy
03-07-2010, 09:35 AM
My project is a tool for disinfection of some viruses "like an antivirus" then I must have an updater to update the bases of viral disinfection tool for better efficiency
Sakuya
03-07-2010, 09:38 AM
I want an updater for my project because I could not do it alone! Please it's urgent! If someone has an example he gives me his example with an explanation
You could use TrueUpdate but if you don't want to buy that, I'd suggest making an INI file on your server containing something like this.
[Updater Information]
Version = 1.00
And then use AutoPlay to download it like this..
HTTP.Download("http://yourserver.com/update.ini", _TempFolder.."\\~updater.tmp", MODE_TEXT, 5, 80);
then check it..
CurrentVersion = "1.00";
ServerVersion = INIFile.GetValue(_TempFolder.."\\~updater.tmp", "Updater Information", "Version");
if (String.CompareFileVersions(CurrentVersion, ServerVersion) == -1) then
-- we need to update.
end
Naturally, I wrote this in the browser so I can't guarantee it works.
Don't be afraid to ask questions here, someone will help out eventually. ;)
Virus Spy
03-07-2010, 09:53 AM
thank you I'll try your solution :)
Powered by vBulletin™ Version 4.0.6 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.