[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Context-sensitive .hlp location

Posted on 2000-03-24
2
Medium Priority
?
210 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 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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

868 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