When I look at my HTML in the
HTML Code view, all the paths to my graphics files are absolute, not relative?
This is normal, when you compile your help file, Helpmatic Pro HTML will
convert the paths to relative paths.
Do end users need any special
software on their PC to use my help file?
No, end users only need Microsoft Internet Explorer 4.0 or greater.
Does the Editor have any shortcut keys?
Yes, they are:
Cut (Ctrl + X)
Copy (Ctrl + C)
Paste (Ctrl + V)
Bold (Ctrl + B)
Italic (Ctrl + I)
Underline (Ctrl + U)
Undo (Ctrl + Z)
Redo (Ctrl + Y)
Hyperlink (Ctrl + K)
Find (Ctrl + F)
Select all (Ctrl + A)
Select block (Ctrl + Left-click)
Line Break (Shift + Enter)
When I double click on an A-keyword
link 'Black box' within the editor, I get an automation error!
I am sorry about this, this is a known issue. When you double click on the
black box, Internet Explorer tries to run the HTML Help A-Keyword link macro,
this crashes as it is only supposed to be run from within the HTML Help
viewer. However, you do not need to double click on the black boxes, they
serve no purpose within Helpmatic Pro HTML, they are just place holders
for A-keyword link buttons. They will be fully operative within the HTML
Help viewer when you compile your help file.
Every time I launch Helpmatic Pro HTML, it
tries to access the internet. Why? Helpmatic Pro HTML is checking if there has been any new versions
released lately. If a new version has been released, it will display a
HTML page showing you all the new features/bug fixes in the latest version
of Helpmatic Pro HTML. You can turn this function off from: Tools Menu
> Options > General Tab > Untick "Check for updates".
Where can I get more information on all the
various CSS elements and properties?
Microsoft have excellent documentation in their online
MSDN librarry.
Where helpfile.chm is the name of your external
help file.
So that HTML Help can locate your external help file, you will need to
add a registry entry for your help file at :
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\HTML
Help
Where does my CHM file get created after
compile?
The CHM file will be in your project folder. Look in the title bar of
the Helpmatic Pro HTML main window that will display the folder location,
or select Explore Project Folder from the Tools menu.
How can I specify a background picture for
my topics in a stylesheet? You can use the following properties of the Body element:
When selecting an image for the background-image property, the
url() text will automatically get inserted around it. Also, Helpmatic
Pro HTML will ask if you want this file added to the additional files
list, select Yes.
background-attachment: fixed will keep the image fixed on the
page even when you scroll.
How can I use HTML Help in my VB.net application? Microsoft have a very good MSDN article on their website which
explains how to do this :
Where contextNumber is the context number of the topic you wish to show, and controlName is the name of the control you want to assign the What's this help.
How can I link to a help file from Excel
using VBA?
You can use this VBA code to launch your help file:
How can I use HTML Help in my Visual Basic application? Visual Basic 6 does not directly allow you to link to the chm
files. It is quite simple though (and more powerful) to use the API.
Add the following to a module :
'
HTML Help declarations
Public Const HH_DISPLAY_TOC = &H1
Public Const HH_DISPLAY_TOPIC = &H0
Public Const HH_DISPLAY_TEXT_POPUP = &HE ' Display string resource
ID or text in a pop-up window.
Public Const HH_HELP_CONTEXT = &HF ' Display mapped numeric value
in dwData.
Public Const HH_TP_HELP_CONTEXTMENU = &H10 ' Text pop-up help, similar
to WinHelp's HELP_CONTEXTMENU.
Public Const HH_TP_HELP_WM_HELP = &H11 ' text pop-up help, similar
to WinHelp's HELP_WM_HELP.
Public Declare Function HtmlHelp Lib "hhctrl.ocx" Alias "HtmlHelpA"
_
(ByVal lhwndCaller As Long, ByVal sFileName As String, _
ByVal lCommand As Long, ByVal lData As Long) As Long
Then use this function to display topics with the specified context number
Public Sub
GetHelp(ByVal lContextNum As Long)
Dim sHelpFile As String
' get filename
sHelpFile = App.Path & "\YourHelp.chm"
If lContextNum < 1 Then ' show contents
HtmlHelp frmYourForm.hwnd,
sHelpFile, HH_DISPLAY_TOC, 0
Else
HtmlHelp frmYourForm.hwnd,
sHelpFile, HH_HELP_CONTEXT, lContextNum
End If
End Sub
frmYourForm, change this to the name of your main Form. YourHelp.chm, change this to the name of your help file (it needs
to be in the app.path of your application).
You can pass in 0 to display the Contents, or an integer > 0 to display
the corresponding topic for the context number.
For a more detailed example, please refer to this MSDN
article.
How can I use HTML Help in my Multimedia
Builder (MMB) project?
If you want to jump to a specific topic within CHM:
YourHelp.chm, change this to the name of your help file. TopicFileName.htm, the name of the topic you want to display.
Is possible to execute a shell command from a button in my .chm file?
Yes, insert the following into the HTML view of your topic at the location where you wish to insert the button: