Click to See Complete Forum and Search --> : .NET interface with website


ThermoSight
January 18th, 2006, 10:48 PM
I would like to write a .NET/C++ 'agent' application which will log on to a single, specific website, begin communicating with that website via bidirectional ascii strings, and when the appropriate information appears, email the user.

The problem is that I haven't clue 1, as to how to do this. I think I can do the logging on OK, I'm familiar with connecting to servers et al, but it's the communication that has me stumped.

If my agent application were to execute MSIE, would it be able to access IE's text boxes to 'see' the strings moving back and forth? Could the agent somehow enter strings into the text box and activate the communication as if the 'GO' button had been pushed?

What is the procedure for talking to a website? Is this XML?

Thanks for any help you may be able to provide.

bill

GuOddian
January 18th, 2006, 11:14 PM
Websites are hosted on HTTP servers. What you need to do is make an HTTP request of the server to get the website that youre after. Make a get call to the page you require and then parse the output. I'm sure there must be objects in .NET that will facilitate this, but I'm not sure because I'm not a .NET developer. Perhaps try the visual C++ forum? They may be able to help.

ThermoSight
January 19th, 2006, 07:49 PM
Thanks GuOddian.

That gives me a place from which to begin. This is gonna be tough, but it'll also be fun, and a good learning experience.

Thanks for your help.

bill