Hi
From what I have read it seems that the question I am about to ask
has been aired before by me and many others, but I am asking again
to try to fully resolve the problem.
I have a full HTML help file for my project and I want the user to be able
to call the help with F1 key
As it stands now when the project opens with the Parent Form F1 will not
work, open any child form and F1 works for that form,close the child form
F1 works for the Parent form and any of the other child form's. In other words
as I wanted.
Q. Why does the parent form F1 not work when the project starts?
Next point when I try to compile the project to an *.exe I get an error with
HtmlHelp Wrong Number of Arguments or an Invalid Properties Assignment
Can you help please
From what I have read it seems that the question I am about to ask
has been aired before by me and many others, but I am asking again
to try to fully resolve the problem.
I have a full HTML help file for my project and I want the user to be able
to call the help with F1 key
As it stands now when the project opens with the Parent Form F1 will not
work, open any child form and F1 works for that form,close the child form
F1 works for the Parent form and any of the other child form's. In other words
as I wanted.
Q. Why does the parent form F1 not work when the project starts?
Next point when I try to compile the project to an *.exe I get an error with
Code:
VB6
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyF1 Then
HtmlHelp hWnd, App.HelpFile, "AddressBook.chm", HH_HELP_CONTEXT, ByVal 20&
End If
End Sub
Can you help please