All about help - how to open .hlp file


hi

can you give me a complete code for calling a help file , index , contents......

Lulli
lulliAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

rwilson032697Commented:
Try this:

Go File|New, select the projects tab, then the SDI Application wizard.

Work through the wizard and look at the code it generates - it includes all the calls to access help that you refer to...

Cheers,

Raymond.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
lulliAuthor Commented:
Nothing there...
0
lulliAuthor Commented:
Nothing there...
0
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

raidosCommented:
I've Done this...hmm...

Application.HelpCommand(15,Data);

Where 15 is Bring up the Dialog..
And Data is -3..-1
-3 is i believe Search.
-2 is Index
-1 is contents..

Maybe in reverse order but thats what i did.

Good luck.
0
lulliAuthor Commented:
i get always search dialog , and how do i assign helpfile in code?
0
rwilson032697Commented:
Sorry, I should have said "Application" wizard...

here are the relevant bits:

procedure TMainForm.HelpContents(Sender: TObject);
begin
  Application.HelpCommand(HELP_CONTENTS, 0);
end;

procedure TMainForm.HelpSearch(Sender: TObject);
const
  EmptyString: PChar = '';
begin
  Application.HelpCommand(HELP_PARTIALKEY, Longint(EmptyString));
end;

procedure TMainForm.HelpHowToUse(Sender: TObject);
begin
  Application.HelpCommand(HELP_HELPONHELP, 0);
end;

Cheers,

Raymond.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.