How to get information from an opened webpage

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Spippo
    New Member
    • Nov 2007
    • 15

    How to get information from an opened webpage

    Hello,

    I'm making an application which opens a webpage in internet exporer.
    I use the following code to do this:

    Code:
    ProcessStartInfo startInfo = new ProcessStartInfo("IExplore.exe");
    startInfo.WindowStyle = ProcessWindowStyle.Maximized;
    startInfo.Arguments = "www.mywebsite.com";
    Process.Start(startInfo);
    Is there any way to read the content of this page in my console?
    Is there any way to know when the page refreshes (when the user clicks on a button or just refreshes the page)?
    Or do I need to open the webpage in some other way? (I can't use httpwebrequest, because the user wants to do things in the internet explorer window).

    Thank you
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    Hmm, you can instanciate an instance of ie inside your program. There should be object on your toolbar in design mode, called like WebBrowser. You could try doing that.

    Comment

    • Spippo
      New Member
      • Nov 2007
      • 15

      #3
      Yes, ok.
      That worked great. Thanks a lot

      Comment

      Working...