Link to home
Start Free TrialLog in
Avatar of habibb
habibbFlag for Pakistan

asked on

Activate help

dear experts
I want to activate help on the click event of a button.
Although I have activated it by pressing F1.
for example I am using the following code:

Private Sub Command1_Click()
    App.HelpFile = "GREENS.HLP"
    Command1.HelpContextID = 4
End Sub

But it is not activating on click event but on pressing F1 key.

Any body can tell me simple code but not too much heavy code.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Ryan Chong
Ryan Chong
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
and please delete those duplicate records..
Avatar of CArnold
CArnold

Experts,
   Good luck trying to get habib to award you points.  Review his question history.  You'll find he's left many experts hanging.

Habib,
   Why do you continue to ask questions if you have no intentions of displaying a morsel of grattitude for their time and effort?

CArnold
Avatar of habibb

ASKER

thanks cArnold
i will avoid it. i am sorry for this.