Browser object within a windows form ... how?



I'm a Web Developer working on a windows forms project.  I have a listbox that displays a list of items.  When one is chosen, I'd need to read in an xml file and display the contents of the xml in a specific format (different fonts/sizes/colors, etc).  I figured I could use xslt to transform the xml into html and display the formatted data (html) in a browser object within the form....  but I don't see any browser object to add to my form.  Surely this can be done, right

Can someone explain how I can get a browser object into a windows form

Thanks!


Answer this question

Browser object within a windows form ... how?

  • Philippe Thibault

    This article may also help
    http://samples.gotdotnet.com/quickstart/winforms/doc/WinFormsAxHosting.aspx

  • SADave

    You need to add the WebBrowser Control to your Toolbox manually and then paste it onto a form. (Also mentioned elsewhere on this forum) Clumsy way of doing it but it works, according to info, the webbrowser is moved to managed code in Whidbey.
  • Shahid Shaikh

    Thanks everyone, I got it figured out!
  • Browser object within a windows form ... how?