Hi,
As we state in the EULA of the VSHIK in the installation directory.
SUPPORT SERVICES. No technical support will be provided for the Software.
And the whitepaper did not provide any more comment about the sample
shipped with VSHIK.
Based on my researching, the sample is listed as the below hierarchy.
CityPowerAndLight -------Control
TestCPandL-CS -------CS code using the control
TestCPandL-VB -------VB code using the control
XML -------implement the Dynamical Help XML Data Island
Help2 -------Help project
Here is the workthrough that works.
1. Copy the xml file under the XML directory to the directory.
<VS install path>\Common7\IDE\HTML\XMLLinks\<LCID>.
The value of <LCID> depends upon your language, such as English or French.
For example, the English LCID is 1033.
The XML Help Provider and Dynamic Help
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/ht
ml/vxgrfhowdynamichelpworks.asp
2. Compile the Help2 Project under the Help2 directory.
3 Use the Help Integration Wizard Beta to install the compiled help file.
Creating a Help Collection Using the Help Integration Wizard Beta
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechar
t/html/integration_wizard.asp
We can download it at the link below.
Help Integration Wizard Beta
http://download.microsoft.com/download/c/9/0/c902302f-39d9-42dc-8810-acd798c
e99d5/HelpIntWizardBeta.EXE
4. Restart the VS.NET IDE and load the TestCPandL-CS or TestCPandL-VB
project, move the mouse onto the LightSwitch in the line below.
private CityPowerAndLight.Controls.LightSwitch lightSwitch1;
We will find the Dynamical Help has changed.
5. Press F1 will invoke the predefined page in the xml file under the XML
directory, and now we have copy it under the directory below.
<VS install path>\Common7\IDE\HTML\XMLLinks\<LCID>
[NOTE: we may need to change the <LItem URL> tag in the xml file because
when we build into the vs.net help collection the path may changed.
But we can input the LightSwitch in the index to get the correct page and
retrieve the url something like
ms-help://MS.VSCC.2003/ms.wizard.namespace/CityPowerHelp2/LightSwitch.htm
And now we can change the <LItem URL> based on the
ms-help://MS.VSCC.2003/ms.wizard.namespace/CityPowerHelp2/ url base.
e.g.
<LItem
URL="ms-help://MS.VSCC.2003/ms.wizard.namespace/CityPowerHelp2/WinProjectsCS
..htm" LinkGroup="Help">Creating a CP&L Windows Project (C#)</LItem>
<LItem
URL="ms-help://MS.VSCC.2003/ms.wizard.namespace/CityPowerHelp2/StartWinProje
cts.htm" LinkGroup="GettingStarted">CP&L Windows Projects</LItem>
Here are some additional resource about Dynamic Help for your reference.
MS Help 2 - Dynamic Help
http://www.helpware.net/mshelp2/demo/DynamicHelp.htm
MS H2 Collection Tutorial
http://www.helpware.net/mshelp2/h2tutorial.htm
Best regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.