Donnerstag, 23. Februar 2012 07:50
I am stuck in an application and need help.
I want to add a help file in my application and i am using F1 help provider.
I want to ask that even after deploying and creating the setup file of the application, the help file will be attached to the application or not.
Also I want to add a button clickong on which the same F1 help provider pops up. How can it be done ?
Freitag, 24. Februar 2012 07:55ModeratorHi ArpitMaheshwari,
Please follow the steps below.
First, add the help file into the project.
Second, open the file’s properties dialog and change the Build Action to Content and Copy to Output Directory to Copy always.
Third, open the setup project, click add, select project, select “Content Files” in the Add Project OutputGroup dialog, and then click Ok.
For more details, see http://social.msdn.microsoft.com/Forums/en-ZA/winformssetup/thread/6ab104f9-305f-49dc-ac39-401ddbb64f3f
To the second question, you can using Help.ShowHelp Method in button click event handler to open a new help file.
If there is anything unclear, please let me know.
Bob Wu [MSFT]
MSDN Community Support | Feedback to us
- Als Antwort markiert Bob Wu-MTMicrosoft Contingent Staff, Moderator Donnerstag, 8. März 2012 03:35