Solved

Help for help File

Posted on 2000-04-05
3
179 Views
Last Modified: 2010-05-02
Easy qustion, i believe.
I want to know: if i put my help file in the same directory of my project, when i install it on another computer must i specify ( the help file is in the same path of the .exe) if yes HOW and WHERE to write it.
0
Comment
Question by:dosyl
[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
3 Comments
 
LVL 12

Expert Comment

by:mark2150
ID: 2687057
No. It'll look in the EXE's directory by default.

M
0
 
LVL 4

Expert Comment

by:gcs001
ID: 2687577
mark2150 is correct in saying that the program will first search your application path for the file specified.

In your Setup package you can just add the Help file and set it so that it is installed to the $(AppPath).

Obviously in your code you could also specify something like:
App.HelpFile = App.Path & "\MyHelp.hlp"
to make sure.

Regards,
Grant.
0
 
LVL 1

Accepted Solution

by:
delmar earned 20 total points
ID: 2698700
There are a number of places your help file might go. The most common are in the application folder, or a subfolder specifically for your help file(s). Another place is the <%windir%>\help folder, which is also a default location for both the WinHelp and HTML Help engines to look.

Regardless of which file type you choose, the best thing you can do is register them. For WinHelp, the key is:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\HELP\

For HTML Help, the key is:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\HTML Help

By registering the help files and their paths, you don't need to worry about App.Path. Call the help file by its name only, and the help engine will use the registry to find the file.

David

0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Suggested Solutions

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
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…
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…

738 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