How do I send data to a html page?

Hello,

I am building an application that works alongside explorer. The application generates some data that I then need to enter into som text fields on an explorer page. The application itself is currently in c# but this element could be rewritten in a different language. I am currently using Sendkeys but this relies on the windo having the focus, which I can;t guarentee, so I woudl like to find a way of sending data directly to a field.

Any advice or hellp woudl be greatly appreciated.

Steve



Answer this question

How do I send data to a html page?

  • F. Gsell

    Excellent - Many Thanks - That will get me on my way :-)
  • parreg

    Add a Web Browser Control to your Page

    public HtmlDocument doc;

    doc = webBrowser1.Document;

    doc.All["TextBoxName"].SetAttribute("value", "This text will be in the Text Box");

    should clear this up...


  • How do I send data to a html page?