Launch my own HTML help file

  • Thread starter Thread starter Steve Howard
  • Start date Start date
S

Steve Howard

I want to open my own HTML help file from a button. I've not managed to find
how to open a local html file. Where should I be looking for information on
this?


TIA


Steve
 
What version of cf are you using 1 or 2?


I found this example code:

http://www.codeproject.com/netcf/CfPocketDice.asp

which has a working solution. I managed to get it to work with my
application, but I would love to see a more elegant solution if one exists.
I use a few other tools that enable this sort of functionality with a single
line of code and without the need for such an extensive script. OK they are
4GL tools, but still ;-)


Thanks again


Steve
 
CF 2 makes it v.easy.

Simply use the ShowHelp method of the Help class.

IE:

string path = @"\Windows\myhelp_en.htm#contents";

System.Windows.Forms.Help.ShowHelp(parent, path);

Contents will be the name of the content you want to load into peghelp.

Cheers
Simon.
 
CF 2 makes it v.easy.

Oh that's real easy :-D Thank you, that helps enormously!


Steve
 
Back
Top