BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Help needed to make .hlp work

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.misc
View previous topic :: View next topic  
Author Message
Chris L.
Guest





PostPosted: Mon Jan 26, 2004 6:25 pm    Post subject: Help needed to make .hlp work Reply with quote



Hi All,

I'm sure someone has asked this before but I can't find any posting in the
NG. Please bear with me.

In my D5 application, I created a .hlp for this app with Help Scribble. I
specified the .hlp location in the IDE Project|Options|Application tab page.

In my app I assigned the ID to the HelpContext for any of the visible
components in D5.

Here's the strange thing with Windows: when I install this application in
different machines, the users can't always bring up the .hlp associated
with my app. I've seen this problem in some Win98, Win2000 and XP machines.

Just on my own development machine (win2000), I log in as an administrator
and do my development. I can access this .hlp file from my app, whether in
IDE or installed as a stand alone app. But when I log in as a user, I can't
bring up this help file when I invoke this app from a folder.

Does anyone have any idea what is required to make it work?

Thanks for any suggestion.

Chris.


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system ([url]http://www.grisoft.com)[/url].
Version: 6.0.558 / Virus Database: 350 - Release Date: 1/2/2004


Back to top
Andy
Guest





PostPosted: Mon Jan 26, 2004 10:14 pm    Post subject: Re: Help needed to make .hlp work Reply with quote



On Mon, 26 Jan 2004 18:25:10 GMT, "Chris L." <christopher.leongc (AT) verizon (DOT) net> wrote:

Quote:
In my D5 application, I created a .hlp for this app with Help Scribble. I
specified the .hlp location in the IDE Project|Options|Application tab page.
You could always add a help button like below.


procedure TForm.btnHelpClick(Sender: TObject);
begin
Application.HelpCommand(Help_Contents,0);
end;

Quote:
In my app I assigned the ID to the HelpContext for any of the visible
components in D5.
So you are saying that when you press "F1", you do not get Help?


Quote:
Just on my own development machine (win2000), I log in as an administrator
and do my development. I can access this .hlp file from my app, whether in
IDE or installed as a stand alone app. But when I log in as a user, I can't
bring up this help file when I invoke this app from a folder.
Does anyone have any idea what is required to make it work?
You could try forcing the issue with an "OnKeyDown" event on the form.


Quote:
Thanks for any suggestion.
I'm a bit of a novice myself, but I try. Smile



Andreas (Andy) Roddau
The Pepetual Novice Programmer
Thalia - Pegasus Mail tagline manager author

Back to top
Chris L.
Guest





PostPosted: Mon Jan 26, 2004 10:19 pm    Post subject: Re: Help needed to make .hlp work Reply with quote



I'm already using
Application.HelpContext(xx); where xx is the ID. But that didn't help.
That's why I'm asking for help.

Thanks.
Chris

"Andy" <ptrails (AT) NoFlyersThankYou (DOT) rogers.com> wrote

Quote:
On Mon, 26 Jan 2004 18:25:10 GMT, "Chris L."
[email]christopher.leongc (AT) verizon (DOT) net[/email]> wrote:

In my D5 application, I created a .hlp for this app with Help Scribble. I
specified the .hlp location in the IDE Project|Options|Application tab
page.
You could always add a help button like below.

procedure TForm.btnHelpClick(Sender: TObject);
begin
Application.HelpCommand(Help_Contents,0);
end;

In my app I assigned the ID to the HelpContext for any of the visible
components in D5.
So you are saying that when you press "F1", you do not get Help?

Just on my own development machine (win2000), I log in as an
administrator
and do my development. I can access this .hlp file from my app, whether
in
IDE or installed as a stand alone app. But when I log in as a user, I
can't
bring up this help file when I invoke this app from a folder.
Does anyone have any idea what is required to make it work?
You could try forcing the issue with an "OnKeyDown" event on the form.

Thanks for any suggestion.
I'm a bit of a novice myself, but I try. :-)


Andreas (Andy) Roddau
The Pepetual Novice Programmer
Thalia - Pegasus Mail tagline manager author


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system ([url]http://www.grisoft.com)[/url].
Version: 6.0.558 / Virus Database: 350 - Release Date: 1/2/2004



Back to top
VBDis
Guest





PostPosted: Tue Jan 27, 2004 3:35 am    Post subject: Re: Help needed to make .hlp work Reply with quote

Im Artikel <aYcRb.54$bx.6 (AT) nwrdny02 (DOT) gnilink.net>, "Chris L."
<christopher.leongc (AT) verizon (DOT) net> schreibt:

Quote:
But when I log in as a user, I can't
bring up this help file when I invoke this app from a folder.

Is the help file in the same folder as the exe file?
Are there any absolute pathes to the help file, in your project options?

IMO it should work when no pathes are used anywhere, then the help file should
always be searched and found in the application folder.

DoDi

Back to top
GB Blanchard
Guest





PostPosted: Wed Jan 28, 2004 7:04 pm    Post subject: Re: Help needed to make .hlp work Reply with quote

Chris L. wrote:

Quote:
In my D5 application, I created a .hlp for this app with Help Scribble. I
specified the .hlp location in the IDE Project|Options|Application tab page.

Don't know if this will help you with your problem or not, but I have never
used the IDE|Project... system you describe. I always add the following or
some variation in FormCreate of the main form:

Application.HelpFile := ExtractFilePath(Application.ExeName)+ 'myhelp.hlp';

I've never had any complaints of the the help not working.

==
Brad Blanchard



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.misc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.