Sign in to follow this  
Followers 0
YoseMite

Check ... for updates

5 posts in this topic

Ey,

I have a website with this file:

update.txt

$update = 1.0

Now I want a application that check every (second? :">) the updates from the website...

(If are update is possible, must download he the update file)

How can I check every ... to updates?

Thx,

YoseMite

Share this post


Link to post
Share on other sites



Ey,

I have a website with this file:

update.txt

$update = 1.0

Now I want a application that check every (second? :">) the updates from the website...

(If are update is possible, must download he the update file)

How can I check every ... to updates?

Thx,

YoseMite

<{POST_SNAPBACK}>

would you really want it checked every second? could probably get away with checking every minute, or even 10 minutes... but that doesn't really matter huh? what i'd do, is have a registry setting created that stores the last version updated to, then you could just use an InetGet() to get the file with the version number from the site, then parse out the version number, and compare it. then execute update if necessary. and throw it all in one big 'While 1' loop with a Sleep(1000) (to check every second)

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

How must I do that with InetGet() ? :$

Share this post


Link to post
Share on other sites

How must I do that with InetGet() ? :$

<{POST_SNAPBACK}>

well the inetget() saves the file to your computer. you can then open that saved file, and read through it until you see the string you're looking for, and save taht value...

checkout InetGet(), FileOpen(), loops, and comparisons


1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0