Julianín

Hi!! I have an application with a button called "Contents" which should show some help provided by a .chm file that I've created. My problem is that I don't know how to launch the .chm file.

I've tried:

private void indexToolStripMenuItem_Click(object sender, EventArgs e)

{

Help.ShowHelp(this,Path.Combine(Path.GetDirectoryName(Application.ExecutablePath), "Ayuda.chm"));

}

But It doesn't work. Can anyone help me



Re: Windows Forms General How to open a .chm file

nobugz

"Doesn't work" doesn't work. Did you try the 3rd argument





Re: Windows Forms General How to open a .chm file

Julianin

I've solved it. My problem was with the path. I had my application saved deep down in my hard disk ( a very long path). If I use it in a shorter one, it works... Thank you for your interest.