Solved

Help for help File

Posted on 2000-04-05
3
150 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
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

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…

943 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

10 Experts available now in Live!

Get 1:1 Help Now