Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Windows Forms
  4. HTML Text Box in Windows Form

HTML Text Box in Windows Form

Scheduled Pinned Locked Moved Windows Forms
htmlcssdatabasequestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    AdeleLeRoux
    wrote on last edited by
    #1

    Hi All, Is there a control somewhere that allows you to display HTML text in a text box on a Windows form? Reason I am asking is that I am currently using a Rich Text control, but we run 2 systems (one a windows system and one a web system) off the same database. The web developer have asked that we change all our rich text boxes to HTML controls so that he can display it on the web. So in essence I would need something that would be able to read raw HTML code (from a database) and display it on a windows form so that it looks more or less the same as it does on the web. Hope that makes sense! Thanks a lot in advance for any replies.

    L 1 Reply Last reply
    0
    • A AdeleLeRoux

      Hi All, Is there a control somewhere that allows you to display HTML text in a text box on a Windows form? Reason I am asking is that I am currently using a Rich Text control, but we run 2 systems (one a windows system and one a web system) off the same database. The web developer have asked that we change all our rich text boxes to HTML controls so that he can display it on the web. So in essence I would need something that would be able to read raw HTML code (from a database) and display it on a windows form so that it looks more or less the same as it does on the web. Hope that makes sense! Thanks a lot in advance for any replies.

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #2

      Hi, the WebBrowser Control shows an HTML page if you call Navigate() or assign a string to DocumentText; by setting some properties you can make it a view-only Control. :)

      Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


      Merry Christmas and a Happy New Year to all.


      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups