Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using the HelpButton 1

Status
Not open for further replies.

Bluejay07

Programmer
Joined
Mar 9, 2007
Messages
780
Location
CA
Hello,

I'm using VS2005. I have created an HTML help document and I would like to use it in my VB.net program.

On the form properties, I noticed the HelpButton feature. According to the description: "Determines whether a form has a Help button on the caption bar". If I set this property to true, the help button does not appear.

Does this property work and if so, how can I use it?

How can I integrate my help document into my program?

Thanks.

If at first you don't succeed, then sky diving wasn't meant for you!
 
The "?" Help Button will only appear in the title bar of your form if the Minimize and Maximize buttons are not displayed (i.e., MaximizeBox = False and MinimizeBox = False).

Check out this link for some basic HTML Help code:




I used to rock and roll every night and party every day. Then it was every other day. Now I'm lucky if I can find 30 minutes a week in which to get funky. - Homer Simpson

Arrrr, mateys! Ye needs ta be preparin' yerselves fer Talk Like a Pirate Day!
 
Thanks Jebenson for the info. It pointed me in the right direction.

Another question, If I wanted to keep the min/max button, I would have to have a help menu and load it from there. In VB6's project properties, there was a Help File Name field and the help file was access with a shell command such as
Shell "hh.exe " & App.Path & "\" & App.HelpFile, vbNormalFocus

How could I accomplish this with VB.net?

If at first you don't succeed, then sky diving wasn't meant for you!
 
I guess it would be very similar to the click event in the example you provided.

If at first you don't succeed, then sky diving wasn't meant for you!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top