6.1.3 with Source, Help Installation?

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
FredS
Posts: 272
Joined: Mon 10 Nov 2014 17:52

6.1.3 with Source, Help Installation?

Post by FredS » Wed 15 Apr 2015 19:36

Hi,

Followed the instructions for installing with Source and all but the Help seemed to have installed correctly.

Are there instruction I missed for Help files?

.. and maybe the Batch files should copy "UniConnectForm.dfm" to Lib\DelphiXX..

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: 6.1.3 with Source, Help Installation?

Post by AlexP » Thu 16 Apr 2015 09:54

Hello,

In the SRC version, help is distributed as a CHM file and doesn't require installation.

FredS
Posts: 272
Joined: Mon 10 Nov 2014 17:52

Re: 6.1.3 with Source, Help Installation?

Post by FredS » Thu 16 Apr 2015 19:13

AlexP wrote: In the SRC version, help is distributed as a CHM file and doesn't require installation.
Hi,
At this point clicking UniDAC->UniDAC Help gives me this;
  • in XE7 - ms-help://Devart.UniDac/UniDac/overview_UniDac.htm This page can’t be displayed
    in XE8 - Nothing
..any better options?

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: 6.1.3 with Source, Help Installation?

Post by AlexP » Fri 17 Apr 2015 08:33

I can send a bat file that integrates the help with XE7. For integration with XE8, you can currently modify the sources as follows:

replace the HelpItemClick method in the DaMenu.pas module

Code: Select all

{$IFDEF VER8P}
  HelpFile := 'ms-help://Devart.' + FProjectName;
  JumpID := Format('ms-help://Devart.%s/%s/overview_%s.htm', [FProjectName, FProjectName, FProjectName]);
{$ELSE}
  HelpFile := GetHelpFileName(FProjectName, FUseCHM);
  JumpID := 'Overview_' + FProjectName;
{$ENDIF}
with

Code: Select all

  HelpFile := GetHelpFileName(FProjectName, FUseCHM);
  JumpID := 'Overview_' + FProjectName;

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: 6.1.3 with Source, Help Installation?

Post by AlexP » Fri 17 Apr 2015 12:57

To support context help in XE8, you should do the following:

in the registry branch
HKCU\Software\Embarcadero\BDS\160\Help\HtmlHelp1Files
add a "UniDAC Help" string parameter with the value: "C:\Program Files\Devart\UniDAC for Rad Studio XE8\Doc\UniDAC.chm" (the full path to the help file)

FredS
Posts: 272
Joined: Mon 10 Nov 2014 17:52

Re: 6.1.3 with Source, Help Installation?

Post by FredS » Wed 16 Dec 2015 03:56

AlexP wrote:To support context help in XE8, you should do the following:

in the registry branch
HKCU\Software\Embarcadero\BDS\160\Help\HtmlHelp1Files
add a "UniDAC Help" string parameter with the value: "C:\Program Files\Devart\UniDAC for Rad Studio XE8\Doc\UniDAC.chm" (the full path to the help file)
Hi Alex,

How do I setup context help in Delphi Seattle?
I tried this but no go:

Code: Select all

[HKEY_CURRENT_USER\SOFTWARE\Embarcadero\NoCastilia\17.0\Help\HtmlHelp1Files]
"UniDAC Help"="D:\\VCL\\UniDAC\\Help\\UniDAC.chm"
"CRControls Help"="D:\\VCL\\UniDAC\\Help\\CRControls.chm"
Also could you please supply a bat file so the Help Menu item under UniDac works for those installing from Source?

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: 6.1.3 with Source, Help Installation?

Post by AlexP » Wed 16 Dec 2015 09:53

The correct branch for help is

Code: Select all

HKEY_CURRENT_USER\SOFTWARE\Embarcadero\BDS\17.0\Help\HtmlHelp1Files

FredS
Posts: 272
Joined: Mon 10 Nov 2014 17:52

Re: 6.1.3 with Source, Help Installation?

Post by FredS » Wed 16 Dec 2015 22:01

AlexP wrote:The correct branch for help is ]
Great, that worked.
Now much less important how to get the UniDac->Help Menu item working?

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: 6.1.3 with Source, Help Installation?

Post by AlexP » Thu 17 Dec 2015 11:44

Please clarify:
Has the menu item appeared in Delphi?
What occurs on click on it?
What occurs when calling help on F11?

FredS
Posts: 272
Joined: Mon 10 Nov 2014 17:52

Re: 6.1.3 with Source, Help Installation?

Post by FredS » Thu 17 Dec 2015 19:15

AlexP wrote:Please clarify:
Has the menu item appeared in Delphi?
What occurs on click on it?
What occurs when calling help on F11?
The UniDac Menu and Help Menuitem appear.
Clicking Help does nothing.
F1 with a UniDac component selected brings up UniDac help.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: 6.1.3 with Source, Help Installation?

Post by AlexP » Fri 18 Dec 2015 11:33

To make help available from the menu, you should also add a registry branch:

Code: Select all

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Devart\UniDac
Add a test value named

Code: Select all

D23
and specify the path to the root folder with UniDAC in its value, e.g.:

Code: Select all

C:\Program Files (x86)\Devart\UniDAC
In addition, rename the

Code: Select all

..\UniDAC\Help
folder to

Code: Select all

..\UniDAC\Doc

FredS
Posts: 272
Joined: Mon 10 Nov 2014 17:52

Re: 6.1.3 with Source, Help Installation?

Post by FredS » Fri 18 Dec 2015 18:59

AlexP wrote:To make help available from the menu, you should also add a registry branch
Great, that did the trick:

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Devart\UniDac]
"D23"="D:\\VCL\\UniDAC"

[HKEY_CURRENT_USER\SOFTWARE\Embarcadero\BDS\17.0\Help\HtmlHelp1Files]
"UniDAC Help"="D:\\VCL\\UniDAC\\Doc\\UniDAC.chm"
"CRControls Help"="D:\\VCL\\UniDAC\\Doc\\CRControls.chm"

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: 6.1.3 with Source, Help Installation?

Post by AlexP » Tue 22 Dec 2015 07:56

Glad to see that the issue was resolved. If you have any further questions, feel free to contact us.

Post Reply