Solved

delphi 4.0 how to call the help made by htmlhelp

Posted on 2000-04-08
5
281 Views
Last Modified: 2010-04-04
i use htmlhelp made a help of my delphi
application,but now i don't know how to
call the help made by htmlhelp.
i use api function winexec ,but no effectively,for example
winexec('c:\guzi\guzi.chm',0)
 
can you tell me how can i do?
0
Comment
Question by:qzlmq
  • 2
  • 2
5 Comments
 
LVL 7

Expert Comment

by:Motaz
Comment Utility
use ShellExecute instead of WinExec

ShellExecute(handle, 'open', PChar('c:\quzi\quzi.chm'), nil, nil, sw_Normal);

Don't forget to include ShellApi in uses clause,
I hope it helps you.

Motaz
www.geocities.com/motaz1
0
 
LVL 17

Accepted Solution

by:
inthe earned 50 total points
Comment Utility
Hi

you should integrae the help with your app and execute the help file by calling HH() api with  HH_Display_Topic flag ,either from a keypress(traditionaly F1) or a button click etc..

see this example from delphi magazine:

http://www.informant.com/libs/delphi/3x/di9805rl.zip

some random html help links that may be of use:

http://www.hyperact.com/DelphiStuff.html
http://www.igweb.pair.com  
http://www.helpware.net

0
 
LVL 7

Expert Comment

by:Motaz
Comment Utility
That is a good example Barry,
But the question is:
How to make chm files? which tools I need (I have FrontPage Express) is it enough or I must have the profissional version?

Motaz
0
 

Expert Comment

by:PhrAtoR
Comment Utility
motaz - good question!
listening...
0
 
LVL 17

Expert Comment

by:inthe
Comment Utility
hi guys,
guess you dont know about microsoft html help workshop then ;o)

http://msdn.microsoft.com/workshop/author/htmlhelp

and Motaz you can use anythuiing tat creates html files .. notepad for instance ..just use the help compiler to compress and compile html files to chm format.
there are several other tools for this also but this is the way i use.
Regards Barry

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

771 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

10 Experts available now in Live!

Get 1:1 Help Now