Board index » delphi » tApplication.HelpContext etc. in Delphi 2006 works different compared to Delpghi 5

tApplication.HelpContext etc. in Delphi 2006 works different compared to Delpghi 5


2006-05-23 08:49:35 AM
delphi4
I have an application that has worked ok using Application.HelpContext etc.
in Delphi 5
When moving to Delphi 2006 nothing happens when I try to press the menues
that in Delphi triggered showing helpfile, both context sensitive or in
general
Is this something wellknown,, or is the fault because it works different in
2006 and there are switches around in compiler that has to be set
differently to have it continue work
Context sensitive help just trigger an error message that the help file has
no context id with that number, while using Delphi 5 compiler, the help file
shows up nicely, but since I otherwise has done changes to the code that had
to be removed to get it compiling, I cannot revert anymore.
This was really really disappointing.
Is it my fault or is this something any other may document happens there
too.
 
 

Re:tApplication.HelpContext etc. in Delphi 2006 works different compared to Delpghi 5

Add "WinHelpViewer" in the "uses" keyword for WinHelp file
or "HTMLHelpViewer" for HTML Help file.
uses WinHelpViewer;
or
uses HTMLHelpViewer;
This should solve the problem.
 

Re:tApplication.HelpContext etc. in Delphi 2006 works different compared to Delpghi 5

"Kevin" <XXXX@XXXXX.COM>writes news:4472c06b$XXXX@XXXXX.COM...
Quote
Add "WinHelpViewer" in the "uses" keyword for WinHelp file
or "HTMLHelpViewer" for HTML Help file.

uses WinHelpViewer;
or
uses HTMLHelpViewer;

This should solve the problem.
Now, where is THAT documented??
:-(
 

Re:tApplication.HelpContext etc. in Delphi 2006 works different compared to Delpghi 5

<XXXX@XXXXX.COM>writes
Quote

"Kevin" <XXXX@XXXXX.COM>writes
news:4472c06b$XXXX@XXXXX.COM...
>Add "WinHelpViewer" in the "uses" keyword for WinHelp file
>or "HTMLHelpViewer" for HTML Help file.
>
>uses WinHelpViewer;
>or
>uses HTMLHelpViewer;
>
>This should solve the problem.


Now, where is THAT documented??
:-(
Possibly in the What's New in D2005. I think that was when it was
introduced. Note also to show the Table of Contents, instead of calling
Application.HelpJump('') you need Application.HelpShowTableOfContents.
I don't know if they're still available but you should try to track down the
What's new in D6, D7, (forget about D8), D2005 and D2006 if you have made
quantum leap from D5.
 

Re:tApplication.HelpContext etc. in Delphi 2006 works different compared to Delpghi 5

"Kevin" <XXXX@XXXXX.COM>writes news:4472c06b$XXXX@XXXXX.COM...
Quote
Add "WinHelpViewer" in the "uses" keyword for WinHelp file
or "HTMLHelpViewer" for HTML Help file.

uses WinHelpViewer;
or
uses HTMLHelpViewer;

Since Delphi 2005 in itself uses another help system, is there any plans
about supporting that format from programs made by Delphi?
(VS/hxs format)
 

Re:tApplication.HelpContext etc. in Delphi 2006 works different compared to Delpghi 5

XXXX@XXXXX.COM a écrit :
Quote
Since Delphi 2005 in itself uses another help system, is there any plans
about supporting that format from programs made by Delphi?
(VS/hxs format)
I guess HTMLHelpViewer is designer for that purpose.
--
Florent Ouchet
 

Re:tApplication.HelpContext etc. in Delphi 2006 works different compared to Delpghi 5

The problem is that unless your customer has VS.NET or
Borland BDS 1,3,4 installed on their computers (or a
similar help viewer), they won't have any means of displaying
the help files.
MS does not allow deployment of the help viewer :(
HTH Pete
<XXXX@XXXXX.COM>writes
Quote

"Kevin" <XXXX@XXXXX.COM>writes
news:4472c06b$XXXX@XXXXX.COM...
>Add "WinHelpViewer" in the "uses" keyword for WinHelp file
>or "HTMLHelpViewer" for HTML Help file.
>
>uses WinHelpViewer;
>or
>uses HTMLHelpViewer;
>
Since Delphi 2005 in itself uses another help system, is there any plans
about supporting that format from programs made by Delphi?
(VS/hxs format)
 

Re:tApplication.HelpContext etc. in Delphi 2006 works different compared to Delpghi 5

Quote
>Since Delphi 2005 in itself uses another help system, is there any plans
>about supporting that format from programs made by Delphi?
>(VS/hxs format)
I guess HTMLHelpViewer is designer for that purpose.
Not really. It handles HTML Help (.chm) but not HTML Help 2 (.hxs). MS did
not make HTML Help 2 available for consumer apps. They use it in their
development tools and MS Office. But in general it did not get "blessed" for
public consumption.
Posted to news://msnews.microsoft.com/microsoft.public.helpauthoring
From: "Shane McRoberts [MSFT]" <XXXX@XXXXX.COM>
Subject: NEWS: Update from Microsoft on Help plans
Date: Fri, 10 Jan 2003 15:54:04 -0800
The Microsoft? Help team has decided not to release Microsoft Help 2 as a
general Help platform. This is primarily in response to customer feedback
that the most important thing is providing a standard Help experience on
everybody's machine. With that in mind, we are focusing our work efforts on
providing a great Help experience in the next client release of Windows
(codename "Longhorn") rather than on releasing an interim solution that is
not integrated with the operating system.
While Microsoft develops future Help technologies, we encourage Help authors
to continue using HTML Help 1.x. Visual Studio? .NET has great support for
integrating HTML Help 1.x content into the applications you build, see
msdn.microsoft.com/library/default.asp
There are also many 3rd party tools available that provide a rich authoring
experience for HTML Help 1.x content (for some examples, see
www.winwriters.com/restools.htm [not a Microsoft site]).
The Help 2 engine will continue to be provided with several of Microsoft's
developer-related products, including Visual Studio .NET, MSDN? Library,
Microsoft .NET Framework SDK, and Microsoft Office Developer. Component
developers and others who need to integrate their Help content into the Help
system in Visual Studio .NET can do so using the Visual Studio Help
Integration Kit (VSHIK). See
msdn.microsoft.com/library/default.asp
for more information. There are also 3rd party tools that provide support
for Help 2, including FAR HTML (www.helpware.net/FAR/index.html [not
a Microsoft site]) and ComponentOne? Doc-To-Help?
(www.componentone.com/helptools.aspx [not a Microsoft site]).
Shane McRoberts
Lead Program Manager, Microsoft Help
 

Re:tApplication.HelpContext etc. in Delphi 2006 works different compared to Delpghi 5

"Pete Fraser" <XXXX@XXXXX.COM>wrote in
message news:447335f2$XXXX@XXXXX.COM...
Quote
The problem is that unless your customer has VS.NET or
Borland BDS 1,3,4 installed on their computers (or a
similar help viewer), they won't have any means of displaying
the help files.
MS does not allow deployment of the help viewer :(
Ok.