Solved

Help for help File

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
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…

758 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

21 Experts available now in Live!

Get 1:1 Help Now