SAMPLE: Vfphtml.exe Demonstrates HTML Help in VFP 3.0 and 5.0

ID: Q185498


The information in this article applies to:


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 file is available for download from the Microsoft Software Library:

Vfphtml.exe

Release Date: 05-11-1998
For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:
Q119591 How to Obtain Microsoft Support Files from Online Services
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 HTLM-style help appears on the screen.



REFERENCES

For information on registering the .ocx control, please see the following article in the Microsoft Knowledge Base:

Q146219 HOWTO: Register an ActiveX Control (.ocx) Manually

Additional query words:


Keywords          : kbfile kbsample kbHTMLHelp kbVFp300 kbVFp500 
Version           : 
Platform          : 
Issue type        : kbhowto 

Last Reviewed: August 2, 1999