How to set up the 'Home' toolstripbutton in 'Help.ShowHelp' in winform

Posted on 2014-04-21
Last Modified: 2014-04-22
Hi experts
Could someone tell me how to configure the behaviour of the 'Home' button so that it will go to certain page.
Please see attached screenshot for the 'Home' button and its current behaviour.

Thank you.

I am using Winform, .NET 3.5, C#, and Windows.Forms.Help.
Question by:dominicwong
  • 3
  • 3
LVL 23

Expert Comment

ID: 40014144
You can set the click event eg

// Navigates webBrowser1 to the home page of the current user. 
private void homeButton_Click(object sender, EventArgs e)

Open in new window

Author Comment

ID: 40014151
Thanks Michael74 for your prompt response.

I apologize for not having mentioned the code I used to bring up the Help. I was actually using the 'Windows.Forms.Help' class and the 'ShowHelp' method.

Help.ShowHelp(parentForm, fileLocation);

Open in new window

Therefore, the click event handler that was suggested might not be applicable in my situation. Could you please point me the right direction.
LVL 23

Expert Comment

ID: 40014162
When using ShowHelp are you calling a chm file or another file type

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.


Author Comment

ID: 40014166
Thanks Michael.
I am using chm file.
LVL 23

Accepted Solution

Michael74 earned 500 total points
ID: 40014173
Then again I would look at using HTML Help Workshop to resolve this as the functionality come from the chm file not winforms


Author Closing Comment

ID: 40014179
Thanks Michael for pointing me the right direction.

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now