Sending commands and infotmation to a web page

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?SnVzdCBjbG9zZSB5b3VyIGV5ZXMgYW5kIHNlZQ==

    Sending commands and infotmation to a web page

    Hello all
    i have a web application that runs on the internal network, i want to access
    it through a desktop application, i want to fill in data in text fields and
    simulate button clicks, and even i want to access the "view source command"
    through my desktop application, i had search the internet and found that may
    i use BHO for IE, but i couldn't able to find a simple example that fit my
    needs,
    please help.
  • Nicholas Paldino [.NET/C# MVP]

    #2
    Re: Sending commands and infotmation to a web page

    Have you looked at the HttpWebRequest/HttpWebResponse classes? They
    will allow you to simulate making a request to an HTTP server and getting
    the response back. You can use a tool like Fiddler to see how your browser
    would send a request, and then duplicate it with the classes mentioned.


    --
    - Nicholas Paldino [.NET/C# MVP]
    - mvp@spam.guard. caspershouse.co m

    "Just close your eyes and see"
    <Justcloseyoure yesandsee@discu ssions.microsof t.comwrote in message
    news:6A58B9CA-7986-4931-9368-CAC41F8D812C@mi crosoft.com...
    Hello all
    i have a web application that runs on the internal network, i want to
    access
    it through a desktop application, i want to fill in data in text fields
    and
    simulate button clicks, and even i want to access the "view source
    command"
    through my desktop application, i had search the internet and found that
    may
    i use BHO for IE, but i couldn't able to find a simple example that fit my
    needs,
    please help.

    Comment

    • =?Utf-8?B?SnVzdCBjbG9zZSB5b3VyIGV5ZXMgYW5kIHNlZQ==

      #3
      Re: Sending commands and infotmation to a web page

      Note that i am not using a browser control, i am trying to insert data and
      commands through an external IE window

      Comment

      • Jeff Johnson

        #4
        Re: Sending commands and infotmation to a web page

        "Just close your eyes and see"
        <Justcloseyoure yesandsee@discu ssions.microsof t.comwrote in message
        news:10925ECB-2BC2-49E1-9729-6B4EF90BA187@mi crosoft.com...
        Note that i am not using a browser control, i am trying to insert data and
        commands through an external IE window
        Why? Do your users fill out partial amounts of data on the form and then let
        your program do the rest? Because if the work is 100% performed by your
        program, who cares HOW it does it? The only other thing I can think of is
        that you need your users to see the RESULTS of the post.


        Comment

        Working...