Link to home
Start Free TrialLog in
Avatar of asl_narayanan
asl_narayanan

asked on

How are live scores displayed

most of us have come across this . if we needed automatic updates for example cricket scores or any other event , we download a software and it keeps updating withour user intervention. could anyone exaplain me as to how this is done. if possible how to do this in visual basic.
Avatar of glass_cookie
glass_cookie

Hi!

Here's a link.  Hope it helps.

Download...
http://www.vb-helper.com/Howto/stocks.zip

Description: Download stock quotes from quote.yahoo.com (7K)

Well, in VB, program it to keep recieving info from the net.  Use a timer and set it's interval to say... 60000.  It will check every 1 minute if it's set to 60000 miliseconds.

Then, give the timer the code to check for the stuff that you want over the net.

If you're really intent about making the program 'un-closable', under the Form_Unload(Cancel As Integer) event, put this code:

Cancel = -1


That's it!

glass cookie : )
ASKER CERTIFIED SOLUTION
Avatar of CJ_S
CJ_S
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The drawback from glass_cookies way is that even if nothing has changed on the server there will be interaction between that server and client.

Regards,
CJ