Results 1 to 6 of 6

Thread: [RESOLVED] Package CHM help file

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Posts
    1,373

    Resolved [RESOLVED] Package CHM help file

    I would like to package a CHM help file with my application. If I invoke the CHM file with Process.Start, how can I ensure that only one instance appears and also maximise (or bring to front) an existing instance? I know that I can iterate the open processes to achieve a single instance help file but how do I maximise an existing instance?

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,299

    Re: Package CHM help file

    Are you using Process.Start for a specific reason or are you unaware of the Help class and associated types available in WinForms applications?

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Posts
    1,373

    Re: Package CHM help file

    I am using a third party product called "Help and menu".

    http://www.helpandmanual.com

    I assume that I would invoke the generated CHM file with Process.Start.

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,299

    Re: Package CHM help file

    Is that a tool for creating the help file? It doesn't matter how it's created. A CHM file is a CHM file and, once you add it to your app, you would normally use the Help class and related types to interact with it.

  5. #5

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Posts
    1,373

    Re: Package CHM help file

    Yes it is a tool for creating CHM help files. I wasn't aware of the Help class. I'll look it up and work out how to integrate the created CHM with my app.

  6. #6

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Posts
    1,373

    Re: [RESOLVED] Package CHM help file

    Great. This was as simple as placing the CHM file in the application folder and calling:

    Code:
     Help.ShowHelp(Me, Application.StartupPath & "\helpfile.chm", System.Windows.Forms.HelpNavigator.TableOfContents)
    I can highly recommend "Help and manual". Excellent product and support is prompt, detailed and superb.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width