Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I have a .hlp file - how do I associate it with my database? 2

Status
Not open for further replies.

kndavies

Technical User
Jan 23, 2003
30
GB
Hi,
This must be easy - I have made a .hlp file for an application but cannot associate it with the database. This database is a stand alone application and all I need is for it to recognise the hlp file, either to access it from the Help menu or from a button on the switchboard.
Thanks for your help,
Ken.
 
Hi,

You can't associate a Help file with an Access database, you can with an Access application.

Look at Access help using this:

'HelpContextID, HelpFile Properties'

Regards,

Darrylle "Never argue with an idiot, he'll bring you down to his level - then beat you with experience." darrylles@totalise.co.uk
 
To invoke your help file by pressing F1 while in a form;

Place the path and filename of the help file in the form's Help File property, and set the Help Context ID to whatever ID you have set in your help file for that form.

OR

You can place a command button on the form and put the following code in the On Click event;

FollowHyperlink "Path and Filename"
(eg., FollowHyperlink "C:\Clients\test.hlp")

This method would open any type of document you have chosen for a help file.

For example;
Help.Txt (Notepad)
Help.doc (MS Word)
Help.pdf (Adobe)

The files will open up with their associated program.

(FollowHyperlink "c:\Clients\test.doc" opens up the help document test.doc in MS Word.)

Anthony J. DeSalvo
President - ScottTech Software
"Integrating Technology with Business"
 
Hi,
Both suggestions great - thanks.

Using FollowHyperLink causes the "some files contain viruses...it is important to be certain..." dialogue box to pop up - can I override this one at all?

Ken
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top