CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2005
    Location
    Seattle, WA U.S.A.
    Posts
    353

    .NET interface with website

    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
    Last edited by ThermoSight; January 18th, 2006 at 11:52 PM.

  2. #2
    Join Date
    Aug 2005
    Posts
    132

    Re: .NET interface with website

    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.

  3. #3
    Join Date
    Oct 2005
    Location
    Seattle, WA U.S.A.
    Posts
    353

    Re: .NET interface with website

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured