Can anyone tell me how to load a help file.
Thanks
Printable View
Can anyone tell me how to load a help file.
Thanks
Code:Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Private Sub Command1_Click()
ShellExecute me.hwnd, "OPEN", "help.hlp","","",3
End Sub
Hi Adrian,
2 ways
1) Go to the Project Properties Dialog and Set the Help File Name there
2) Do it in Code via the App.HelpFileName Method
A piece of Advice,
Try developing HTML Help instead. WinHelp File is to be retired from Windows Soon. Download the free HTML Help Workshop from Microsoft Website. It is easier to create than a.HLP File and can be viewed online cos its all HTML.
Another way 2 go along with Crypts: Go to project ~~~>Properties~~~>Help File Name: Add the location of the help file
Can you be a bit more detailed coz i'm new at this..
Thanks.