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. Advise on displaying HTML document

Advise on displaying HTML document

Scheduled Pinned Locked Moved C#
csharphtmlquestion
5 Posts 3 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
    Adelm
    wrote on last edited by
    #1

    Hi I am new to C# and currently reading some books and very interested in buying C# 2005 but would like an advise on C# functionality before spending my money. I am planning to make a C# application that displays HTML pages by clicking on a treeview component. HTML pages will supplied during programming. Questions: 1- What is the easiest way to display HTML document in a Windows Form 2- After building the application, will all html documents be visible in installation directory or will be compressed (just to make sure nobody edit them) Regards, Adel.

    T 1 Reply Last reply
    0
    • A Adelm

      Hi I am new to C# and currently reading some books and very interested in buying C# 2005 but would like an advise on C# functionality before spending my money. I am planning to make a C# application that displays HTML pages by clicking on a treeview component. HTML pages will supplied during programming. Questions: 1- What is the easiest way to display HTML document in a Windows Form 2- After building the application, will all html documents be visible in installation directory or will be compressed (just to make sure nobody edit them) Regards, Adel.

      T Offline
      T Offline
      Tomas Petricek
      wrote on last edited by
      #2

      Adelm wrote: 1- What is the easiest way to display HTML document in a Windows Form Best way to display HTML in Windows Forms is to use Internet Explorer control. This control will be available in C# 2005 (like typical .Net control), but it is possible to use it in current version also (In Toolbox click on "Add/Rmove Items" and select "Microsoft Web Browser" on Com Components page). You can navigate browser control to html page from html file, from url and also to resource of win32 dll file (something like res://C:\WINDOWS\system32\shdoclc.dll/navcancl.htm).

      Tomáš Petříček (Microsoft C# MVP)
      www.eeeksoft.net | Photos | Fractal Snow

      M A 2 Replies Last reply
      0
      • T Tomas Petricek

        Adelm wrote: 1- What is the easiest way to display HTML document in a Windows Form Best way to display HTML in Windows Forms is to use Internet Explorer control. This control will be available in C# 2005 (like typical .Net control), but it is possible to use it in current version also (In Toolbox click on "Add/Rmove Items" and select "Microsoft Web Browser" on Com Components page). You can navigate browser control to html page from html file, from url and also to resource of win32 dll file (something like res://C:\WINDOWS\system32\shdoclc.dll/navcancl.htm).

        Tomáš Petříček (Microsoft C# MVP)
        www.eeeksoft.net | Photos | Fractal Snow

        M Offline
        M Offline
        Mr Rogers
        wrote on last edited by
        #3

        There's going to be a .Net control for the IE window in C# 2005? That's sweet. Using the Microsoft Web Browser is great and all, but sometimes it's a pain. I hope that the .Net control will be a little easier to work with. Is there anywhere where I can go to read up on it?

        T 1 Reply Last reply
        0
        • M Mr Rogers

          There's going to be a .Net control for the IE window in C# 2005? That's sweet. Using the Microsoft Web Browser is great and all, but sometimes it's a pain. I hope that the .Net control will be a little easier to work with. Is there anywhere where I can go to read up on it?

          T Offline
          T Offline
          Tomas Petricek
          wrote on last edited by
          #4

          It is wrapper of IE object, but it should be easier to use it from managed code. I don't have any experiences with it, so i can't tell if it is really easier, but i hope so... :-) You can read more here: http://www.windowsforms.net/WhidbeyFeatures/default.aspx?PageID=2&ItemID=18&Cat=Controls&tabindex=4[^]

          Tomáš Petříček (Microsoft C# MVP)
          www.eeeksoft.net | Photos | Fractal Snow

          1 Reply Last reply
          0
          • T Tomas Petricek

            Adelm wrote: 1- What is the easiest way to display HTML document in a Windows Form Best way to display HTML in Windows Forms is to use Internet Explorer control. This control will be available in C# 2005 (like typical .Net control), but it is possible to use it in current version also (In Toolbox click on "Add/Rmove Items" and select "Microsoft Web Browser" on Com Components page). You can navigate browser control to html page from html file, from url and also to resource of win32 dll file (something like res://C:\WINDOWS\system32\shdoclc.dll/navcancl.htm).

            Tomáš Petříček (Microsoft C# MVP)
            www.eeeksoft.net | Photos | Fractal Snow

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

            Thanks Tomas. I will try the beta version of C# on Microsoft web site and findout if this .net control is included.

            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