-
Jul 4th, 2015, 07:32 AM
#1
Thread Starter
Frenzied Member
[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?
-
Jul 4th, 2015, 08:42 AM
#2
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?
-
Jul 4th, 2015, 09:27 AM
#3
Thread Starter
Frenzied Member
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.
-
Jul 4th, 2015, 09:41 AM
#4
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.
-
Jul 4th, 2015, 09:50 AM
#5
Thread Starter
Frenzied Member
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.
-
Jul 6th, 2015, 08:42 PM
#6
Thread Starter
Frenzied Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|