Vfphtml.exe Demonstrates HTML Help in VFP 3.0 and 5.0

ID: Q185498


The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, versions 3.0b, 5.0, 5.0a


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. Click the file names below to download the files:

Vfphtml.exe
For more information about how to download files from the Microsoft Download Center, please visit the Download Center at the following Web address
http://www.microsoft.com/downloads/search.asp
and then click How to use the Microsoft Download Center. 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 : WINDOWS:3.0b,5.0,5.0a
Platform : WINDOWS
Issue type : kbinfo


Last Reviewed: December 2, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.