Create chm file

bfsog

Well-known member
Joined
Apr 21, 2005
Messages
50
Location
UK
Programming Experience
5-10
I know how to add a .chm file to a project, and I know HTML, but I was wondering, coukd someone post some sample code from a help file that you have made yourself?

It does not have to be very detailed, its just to give me somewhere to work from.

Thanks in advance
 

jmcilhinney

VB.NET Forum Moderator
Staff member
Joined
Aug 17, 2004
Messages
14,321
Location
Sydney, Australia
Programming Experience
10+
Are you asking how to access an existing help file from a VB.NET application or how to create the help file? Compiled HTML help files are not created in VS or VB. You need a separate application like RoboHelp or HTML Help Workshop that comes bundled with VS.NET. Once you have a help file you can use it via the System.Windows.Forms.Help and System.Windows.Forms.HelpProvider classes.
 

JuggaloBrotha

VB.NET Forum Moderator
Staff member
Joined
Jun 3, 2004
Messages
4,524
Location
Lansing, MI; USA
Programming Experience
10+
if you are using vs2003 (or newer) every application already has Help declared as System.Windows.Forms.Help so all you've got to do is (once you have made you're chm file)

just open it using:
Help.ShowHelp()
 
Top Bottom