Help file

A

acores

Hi.
I create an Microsoft® HTML Help Executable, and now I want to put it in my
Access database customised menu bar.
How can I do it?
Anyone can help me?
Thank you.
Regards.
 
H

Hunter57

Hi,

I use a macro to open my help file for my menu bar.

This is my Macro:

Action:
RunApp

CommandLine: C:\WINDOWS\System32\winhlp32.exe C:\Program
Files\CMSS\CMSSHELP.HLP

(You may already know how to do this, it is here just in case you need it)

Open Menu in Customize

Right Click your Menu where you want them to click to open the help file.

Select Properties

Enter your macro name in the On Action box:
On Action: YourMacroName

Hope it helps.

Hunter57
Just huntin' for some data.
http://churchmanagementsoftware.googlepages.com
 
A

acores

Hello, Hunter57.

I have tried to make this macro but appears an error saying that it is not
possible to find my file. I tried to search the
C:\WINDOWS\System32\winhlp32.exe, but I don't have that file. Do you this
that is the problem?


"Hunter57" escreveu:
 
A

acores

Hello.
I tried to make the macro you said, but appeared an error saying that the
Access can not find the file. I also tried to find the
C:\WINDOWS\System32\winhlp32.exe, but the file doesn´t exist. Do you think
this is the problem?

"Hunter57" escreveu:
 
H

Hunter57

Hi acores,

I am using a hlp file--if yours is different you will need to set up your
macro accordingly.

You need to know your help file extension, mine is hlp. Yours may be
different. If you are using a Windows Operating System, you can open File
Explorer, click on Tools, then select Folder Options. Find your file type in
there and you can find out the information you need to put in your macro.

If that fails you can do a google search for your operatingsystemname and
yourhelpfileextension and find out what file your operating system uses to
open that type of file.
 
S

Scott McDaniel

Hi.
I create an Microsoft® HTML Help Executable, and now I want to put it in my
Access database customised menu bar.
How can I do it?

Do you mean a .chm file?

Here's a pdf file that seems to show the basics of doing this:
http://frogleg.mvps.org/helptechnologies/htmlhelp/pdfs/hhaccess.pdf

Basically, you'd include a new button your menubar and call the HTMLHelpStdCall function:

HTMLHelpStdCall 0, "MyHelp.chm", HH_HELP_CONTEXT, 1030

Would show the #1030 topic from the MyHelp.chm file. This assumes that you've declared the HTMLHelpStdCall function,
along with all needed constants.

I used this class (with some minor modifications):
http://frogleg.mvps.org/helptechnologies/htmlhelp/hhvbclas.html

I'd STRONGLY encourage you not to use macros for this, since many things can go wrong (and you can't trap errors in
macros).

Scott McDaniel
scott@takemeout_infotrakker.com
www.infotrakker.com
 
Top