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. C#
  4. URGENT : Display HTML Document into an Application Form

URGENT : Display HTML Document into an Application Form

Scheduled Pinned Locked Moved C#
questionhtmltutorial
7 Posts 4 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
    Ahmad_kaau
    wrote on last edited by
    #1

    hi would you please answer my question How to display HTML Document within an application form ? thank you

    C E 2 Replies Last reply
    0
    • A Ahmad_kaau

      hi would you please answer my question How to display HTML Document within an application form ? thank you

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Easiest way, put a web browser control on your form. Otherwise, I guess you need to parse the HTML yourself.

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

      P A 2 Replies Last reply
      0
      • A Ahmad_kaau

        hi would you please answer my question How to display HTML Document within an application form ? thank you

        E Offline
        E Offline
        ejuanpp
        wrote on last edited by
        #3

        Use the WebBrowser control :)

        1 Reply Last reply
        0
        • C Christian Graus

          Easiest way, put a web browser control on your form. Otherwise, I guess you need to parse the HTML yourself.

          Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

          P Offline
          P Offline
          Pete OHanlon
          wrote on last edited by
          #4

          Christian Graus wrote:

          I guess you need to parse the HTML yourself

          I had to do that once. The code for it is not pretty, I can tell you. It wouldn't be so bad if html was always strict, but the transitional dtd's really cause problems.

          Arthur Dent - "That would explain it. All my life I've had this strange feeling that there's something big and sinister going on in the world." Slartibartfast - "No. That's perfectly normal paranoia. Everybody in the universe gets that." Deja View - the feeling that you've seen this post before.

          1 Reply Last reply
          0
          • C Christian Graus

            Easiest way, put a web browser control on your form. Otherwise, I guess you need to parse the HTML yourself.

            Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

            A Offline
            A Offline
            Ahmad_kaau
            wrote on last edited by
            #5

            Thank you so much for your reply ... Could be possible ... !! The HTML document is a HTML file What is the code to make the web browser control display the file ? Thanks again :)

            P 1 Reply Last reply
            0
            • A Ahmad_kaau

              Thank you so much for your reply ... Could be possible ... !! The HTML document is a HTML file What is the code to make the web browser control display the file ? Thanks again :)

              P Offline
              P Offline
              Pete OHanlon
              wrote on last edited by
              #6

              If you're using .NET 2 and the Web Browser control, there's a property called Url. Just set that to the URL you want.

              Arthur Dent - "That would explain it. All my life I've had this strange feeling that there's something big and sinister going on in the world." Slartibartfast - "No. That's perfectly normal paranoia. Everybody in the universe gets that." Deja View - the feeling that you've seen this post before.

              A 1 Reply Last reply
              0
              • P Pete OHanlon

                If you're using .NET 2 and the Web Browser control, there's a property called Url. Just set that to the URL you want.

                Arthur Dent - "That would explain it. All my life I've had this strange feeling that there's something big and sinister going on in the world." Slartibartfast - "No. That's perfectly normal paranoia. Everybody in the universe gets that." Deja View - the feeling that you've seen this post before.

                A Offline
                A Offline
                Ahmad_kaau
                wrote on last edited by
                #7

                Thank you so much, i will try it :)

                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