?
Solved

Context-sensitive .hlp location

Posted on 2000-03-24
2
Medium Priority
?
203 Views
Last Modified: 2010-05-02
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
0
Comment
Question by:BrianWren
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Accepted Solution

by:
Cuervo earned 100 total points
ID: 2654760
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
 
LVL 9

Author Comment

by:BrianWren
ID: 2654875
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

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month10 days, left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question