Microsoft KB Archive/185498

= Vfphtml.exe Demonstrates HTML Help in VFP 3.0 and 5.0 =

Article ID: 185498

Article Last Modified on 8/9/2004

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0b Standard Edition
 * Microsoft Visual FoxPro 5.0 Standard Edition
 * Microsoft Visual FoxPro 5.0a

-



This article was previously published under Q185498



SUMMARY
Vfphtml.exe is a file that demonstrates how to implement an HTML help file within Visual FoxPro 3.0x and 5.0x.



MORE INFORMATION
The following files are available for download from the Microsoft Download Center:

Vfphtml.exe

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file. Vfphtml.exe contains three files: Hhctrl.ocx, Test.chm, and Htmlhelp.prg. The example is dependent on the version of the Hhctrl.ocx file. These files allow one to implement an HTML-style Help file within Visual FoxPro 3.0x or 5.0x. To setup the files, use the following steps:


 * 1) Unzip the self-extracting VfpHtml.exe file into a folder named Test.
 * 2) Register the Hhctrl.ocx file following the instructions in the Microsoft Knowledge Base article listed in the REFERENCES section.
 * 3) Modify the program and change the values of the lcSampleHelp and lcHhctrl variables. These variables contain the locations of the Test.chm and Hhctrl.ocx files respectively. These files can reside in different folders as long as the variables contain the correct file locations.
 * 4) Start Visual FoxPro 3.0x or 5.0x and run the program.
 * 5) The HTML-style help appears on the screen.

