open chm from winform

How can I invoke chm file in a windows form by clicking a button -Not help button of form-

Answer this question

open chm from winform

  • Bartosz Kowalski

    Process is belongs to which namespace

    any way I used this code:

    private void Button1_Click(object sender, EventArgs e)
    {
    Help.ShowHelp(this, "Help.chm");
    }

    it worked.


  • Florian Storck

    As I understand you question :
    Process.Start("E:\Test.chm")


  • Olyx

    thank you! I didn't know about this method. well I think your solution is much better.
  • Tobi3965

    Elham Sarikhani wrote:

    Process
    is belongs to which namespace

    System.Diagnostics namespace, for more please visit Process.Start Method (ProcessStartInfo) (System.Diagnostics).

    As I understood his question, he doesn't want to show a help for his program, right


  • open chm from winform