I use .chm all the time!

Try the following code stub to get you going.

The 'TipNumber' is the index of the page you are accessing


var
  URL,
  Flags,
  TargetFrameName,
  PostData,
  Headers: OleVariant;
  DocLang,
  TipNumber,
  TipNum: string;
begin
  Flags := '';
  TargetFrameName := '';
  PostData := '';
 
url:='its:'+extractFileDir(Application.ExeName)+'\docs\'CompiledHelpFile
Name.chm::/'+TipNumber+'.htm';
if
FileExists(extractFileDir(Application.ExeName)+'\docs\CompiledHelpFileNa
me.chm') then
              WebBrowser1.Navigate2(url, Flags, TargetFrameName,
PostData, Headers);

Messy example but it should help.

The webbrowser is a standard Delphi component look under internet.

-----Original Message-----
From: Alister Christie [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 12 October 2004 3:03 p.m.
To: NZ Borland Developers Group - Offtopic List
Subject: [DUG-Offtopic] .CHM vs .HLP

We're finally getting round to writing some significant help files for 
our applications.  We've been using .hlp files, but are wondering about 
switching to .chm.  I understand delphi does not support .chm files 
directly and was wondering how the community is dealing with this - any 
suggestions?

-- 
Alister Christie
Computers for People
Ph: 04 471 1849 Fax: 04 471 1266
http://www.salespartner.co.nz
PO Box 13085
Johnsonville
Wellington
_______________________________________________
Offtopic mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/offtopic


_______________________________________________
Offtopic mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/offtopic

Reply via email to