Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to display help html page from one windows form.

Can anyone help me here
Posted
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.

Use the web browser control from within the form to render the html page - http://msdn.microsoft.com/en-us/library/2te2y1x6.aspx[^].
 
Share this answer
 
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[^]
 
Share this answer
 
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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900