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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need help with opening help files

Status
Not open for further replies.

GrahamUNC

Programmer
Mar 30, 2001
14
0
0
US
I'm having trouble launching a help file (with the ever creative title of "help")I created from the menu I created for Help.

Private Sub mnuHelp_Click()
App.HelpFile = App.Path & "\help.hlp"
End Sub

Am I missing something here or does anyone have an idea why this wouldn't launch my help file? Thanks in advance.
 
Have you tried SHell App.Path & "\help.hlp"
 
I did try something like that with:

Sub mnuHelp_Click()
Shell ("start " & app.Path "\help.hlp")
End Sub

That worked fine until I copied the files (the *.exe, and the help file) into another directory. It wouldn't open the help file.
 
Are you running the exe from a shortcut? Check that the Start-in property for the shortcut is correct.

Chaz
 
That should still work as long as the exe and hlp are in the same folder
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top