adding help files

James4612
05-13-2002, 08:53 PM
Hi, I have my finished vb program and I want to add a help file to it. Any advice on how to create help files ?

Flyguy
05-14-2002, 12:00 AM
You could add help files in HTML format.
Have a look here (http://www.mvps.org/htmlhelpcenter/) at the HTMLHelpCenter.

Nagual
06-06-2002, 02:19 AM
I have recently posted the same sort of question! And thanks to the suggestions of different people I managed it.

The easiest way ( as far as I know ) is to uses HTML HelpFile WorkShop - this comes with Visual Studio 6 Developers Ed. This lets you create simple HTML files, a Table of Contents ( it will even do this automaticaly for you if you want ) and an index. But to get it working well with context sensitive help as well, I recomend using Header maps and Aliases.

Let me clear here, I am new to help files too, so this, while it will work, may not be the easiest way.

For further instructions on how to do this go to the following site:

http://support.microsoft.com/default.aspx?scid=kb;EN-US;q242433

The example they use, is used in Access, but it can be used in VB too.

You will have to use to following line in the Form_load procedure:

App.HelpFile = "name of help file "
You may have to add the drive/ directory to the path as well.

declair a variable (I'll use "path")
path as string
IF right$(App.path, 1)="\" THEN
path = App.path
ELSE
path = App.path & "\"
END IF

App.HelpFile = path & "name of help file"

Hope that helps...

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum