Click here to Skip to main content
13,596,190 members
Rate this:
 
Please Sign up or sign in to vote.
See more:
i want to display help html page from one windows form.

Can anyone help me here
Posted 5-Sep-12 3:39am
Comments
Christian Amado 5-Sep-12 9:40am
   
Use a web browser control in your form.
Suraj S Koneri 6-Sep-12 9:49am
   
i need to show a HTML page in seperate browser on click of some button or link button control. but this opens HTML in same window.
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Use the web browser control from within the form to render the html page - http://msdn.microsoft.com/en-us/library/2te2y1x6.aspx[^].
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 3

There are many ways to show a help HTML file through a winform depending on your requirement.Here i tell you some of them-
1. For Showing a single HTML page -
a. You can use a Web Browser control

2. For Showing multiple HTML Pages (Set of HTML Pages more than one)
a. You have to create a HTML Help File (.chm) file, for this you can use HTML Workshop Application. Here you can add multiple HTML pages and create an Microsoft Help File (.chm).
Once you created your Help file Follow the steps.
1.Add the help file to your solution.
2.Try the code on some control event (Click event for button)
Process.Start("File_Name.chm")

->Contact if you need more information on mail-
raghubir.sarkar@gmail.com

-> Link to download HTML Workshop -

http://msdn.microsoft.com/en-us/library/windows/desktop/ms669985%28v=vs.85%29.aspx[^]
  Permalink  
Comments
Suraj S Koneri 6-Sep-12 9:48am
   
i need to show a HTML page in seperate browser on click of some button or link button control.
Suraj S Koneri 7-Sep-12 1:07am
   
Thank u very much, fa this type of solution only i was looking for :)
Raghubir_Sarkar 8-Sep-12 7:07am
   
Try this -
Process.Start(Page_Name.html)
It will Show your html page(Page_Name.html) in your default web browser.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Cookies | Terms of Service
Web04-2016 | 2.8.180621.3 | Last Updated 6 Sep 2012
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100