Click to See Complete Forum and Search --> : web script paradigm question


mrc++
August 29th, 2007, 03:03 AM
Hello. I have a particular question about a programming type I am searching for. I would liike to make a program that gets text from a particular webpage at a particular line and at a particular cursor position and is event driven with respect to that particular piece of text changing. In other words, it will be refreshing that webpage often, as in ever 5 minutes, and seeing if a particular number changes, and if it does, it will signal an event that I can design to alert me.

How do I accomplish something like this with something like Visual Studio? What else can I use?


And just to let you know, I am not trying to accomplish anything fishy with this.



Thanks

UnderDog
August 29th, 2007, 04:55 AM
In C++, you will write the code to fetch the HTTP page and then you can parse that page to detect when text of interest changes. See HTTPPing example on MSDN for some sample code. I believe the same thing can be achieved by scripting (such as perl) as well in much easier way.