HOWTO: Instantiate Multiple Copies of HTML Help in Visual FoxPro 6.0

ID: Q234225


The information in this article applies to:


SUMMARY

It is possible to create multiple instances of HTML Help using the interfaces exposed in the Foxhhelp COM object.


MORE INFORMATION

The code below demonstrates how to instantiate multiple copies of HTML Help using Foxhhelp's FoxHelpDoActivateHelp method:


*-- Change the filename to suit your installation
lsHelpFile = "C:\Program Files\Microsoft "+ ;
"Visual Studio\MSDN98\98VS\1033\dsmsdn.chm"
oHelp1 = createobject("foxhhelp.foxhtmlhelp")
oHelp2 = createobject("foxhhelp.foxhtmlhelp")
oHelp1.foxhelpdoactivatehelp(lsHelpFile)
oHelp2.foxhelpdoactivatehelp(lsHelpFile) 
Other useful Foxhhelp methods include:

© Microsoft Corporation 1999, All Rights Reserved.
Contributions by Mike A. Stewart, Microsoft Corporation

Additional query words:


Keywords          : kbDocs kbVFp600 kbGrpFox kbDSupport 
Version           : WINDOWS:6.0
Platform          : WINDOWS 
Issue type        : kbhowto 

Last Reviewed: June 22, 1999