Tech Notes
Tech Notes |
Understanding WebHub New-Project Wizard File Locations
This information relates to the wizard used within Delphi, under the menu: or . (NB: The menu selection sequence varies slightly depending on your version of Delphi.)
If you get errors when using this Wizard to assist within Delphi, the most likely reason is that the wizard does not know where your files are.
To trace out the file locations, run and look under . Open , and click on . On the right side, you will see a list of WebHub keys. Look for the key named DelphiWizard. That is the key which determines the location of all configuration relating to this wizard.
Right-click the filename associated with the DelphiWizard key, and select . Scroll down to this part of the XML file: WebHubWizardConfiguration/ProjectWizard/General/LibraryPaths/Item and adjust the path so that it points to your webhub\lib folder.
You will need to exit and restart Delphi for the change to take effect.
Version-Specific Notes
For WebHub Components v1.770 to v2.053
Wizard entries in the registry
The wizard will assume c:\ht as the base path.
Exit Delphi.
Look in the ht\wizard directory and you will find two .reg files. Edit those to make the path correct for your system. Pay close attention to the number of slashes in the pathnames! Then run each one (by double-clicking it from File Manager or Explorer) to update your registry. Alternatively, you can run REGEDIT and look at your registry directly, and edit the paths there. That can be easier because one level of double-every-slash rule is removed.
After changing your registry, restart Delphi, and the wizard will be using the new settings.
Example of WhWizard.reg
This is how it should look - drive letter and double slashes.[HKEY_CURRENT_USER\Software\HREF Tools\WebHub\Project Wizard\Configurations] "Default Library Path"="c:\\ht\\lib32;c:\\ht\\htfrm" "Optional Panels"="utPanFrm,appabout,apppanel,appcustm,whappin,whappout,whhtml,whmail,whmotd,whsessio,whwebinf"
Running DynHelp.exe v1.2.0.6 on WebHub-v2.125 built by D14
Calc time: 157 ms

