Solved

Context-sensitive .hlp location

Posted on 2000-03-24
2
180 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
2 Comments
 

Accepted Solution

by:
Cuervo earned 25 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

911 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now