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
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.