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