Integrating .chm with Access2003

S

StuJol

i have an access2003 database and i have created a .chm file using HelpMatic.
Does anyone have any sugestions how i can integrate the .chm file with access?

i have a help button on all my forms but when i use the follow hyperlink cmd
i get warning messages before it opens the file.

Any help would be much appreciated.
 
T

Tony Toews [MVP]

StuJol said:
i have an access2003 database and i have created a .chm file using HelpMatic.
Does anyone have any sugestions how i can integrate the .chm file with access?

i have a help button on all my forms but when i use the follow hyperlink cmd
i get warning messages before it opens the file.

You're missing the hyperlink cmd in your posting.

The usual way is to put the .chm help file name in the forms
properties in the Other tab in the field Help File. Then put the
appropriate Help Context ID, which you should have specified in the
..chm file, in the Help Context ID field. You can also specify the
Help Context ID in the control property.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
 
S

StuJol

Tony,

thanks for the reply. I would rather open the .chm file from a command
button. my code is

Dim stAppName As String

stAppName = "C:\Program Files\Easara\Easara Home Office
Suite\Documents\Easara Home Office Suite.chm"

DoCmd.SetWarnings False
Application.FollowHyperlink stAppName
DoCmd.SetWarnings True


setting the warnings to false still brings up the warning box!
 
T

Tony Toews [MVP]

StuJol said:
stAppName = "C:\Program Files\Easara\Easara Home Office
Suite\Documents\Easara Home Office Suite.chm"

How do you know your app will be installed in that location? Will
the chm file only ever be updated by an administrator doing an
install.
setting the warnings to false still brings up the warning box!

To my knowledge SetWarnings is only used in a few specific situations
such as docmd.runsql or such. But I could be wrong.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
 
J

James

StuJol said:
i have an access2003 database and i have created a .chm file using HelpMatic.
Does anyone have any sugestions how i can integrate the .chm file with access?

i have a help button on all my forms but when i use the follow hyperlink cmd
i get warning messages before it opens the file.

Any help would be much appreciated.

Try this -
Shell "C:\Windows\hh.exe C:\MDB Folder\help.chm", vbNormalFocus
 
J

James

StuJol said:
i have an access2003 database and i have created a .chm file using HelpMatic.
Does anyone have any sugestions how i can integrate the .chm file with access?

i have a help button on all my forms but when i use the follow hyperlink cmd
i get warning messages before it opens the file.

Any help would be much appreciated.

TRY THIS
Shell "C:\WINDOWS\hh.exe C:\MDB Folder \Help.chm", vbNormalFocus
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top