CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2008
    Posts
    15

    Web page control, manipulation, javascript from c# windows app

    I am writing a c# winforms application that needs to communicate with a web page. The communication needs and the problem is as follows:

    1. How can i manipulate web elements such as textbox or input without loading or displaying the page in my windows application?
    Adding a Forms.WebBrowser control and hiding it from view is the first trick that i can think.
    2. Is it possible to invoke a javascript which can do the previous task (manipulating html controls) from c# windows app. ?
    3. Maybe the hardest one: I need to detect which page the user is currently viewing in his browser so that i can accomplish the right manipulations on the right controls on the right web page?

    Thanks.

  2. #2
    Join Date
    Jan 2006
    Location
    18° 32' N / 73° 52' E
    Posts
    416

    Re: Web page control, manipulation, javascript from c# windows app

    Search on HttpWebRequest and HttpWebResponce.
    this will be usefull to you and solve the purpose.
    Regards,
    MMH
    Rate my post if you find it usefull.

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