Context-sensitive .hlp location

In "Project|<prjName> Properties...|General Tab|Help File Name:" is there a way to specify a name and arguments/etc. so that no matter where the EXE finds itself, it will use the .hlp that's in that directory?

(Something like "$(AppPath)\MyHelp.hlp")

Brian
LVL 9
BrianWrenAsked:
Who is Participating?
 
CuervoCommented:
For that, you must use the helpfile property of the application object.

For example, if your help file is always in "c:\myhelpfile" then

app.helpfile="c:\myhelpfile"

and, obvious, the best of all is that you can use variables:

app.helpfile=app.path & "\myhelp"


There's no way(i think) to set this from the project properties.
0
 
BrianWrenAuthor Commented:
That's what I thought.  The HelpFile property from that dialog would be a static property, and so couldn't respond to location dynamically . . .

(Would be nice though)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.