Microsoft KB Archive/234225

= How To Instantiate Multiple Copies of HTML Help in Visual FoxPro 6.0 =

Article ID: 234225

Article Last Modified on 7/1/2004

-

APPLIES TO


 * Microsoft Visual FoxPro 6.0 Professional Edition

-



This article was previously published under Q234225



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:
 * FoxHelpDoMSDNCollection(String filename) - Instantiates an instance of HTML using the collection in the supplied filename.
 * FoxHelpDoActivateHelp(String filename) - Instantiates an instance of HTML using the Help file in the supplied filename.
 * FoxHelpDoContextHelp(String filename, Long dwData) - Instantiates an instance of HTML using the Help file in the supplied filename and context ID.
 * FoxHelpDoKeywordSearch(String filename, String keyword) - Instantiates an instance of HTML using the Help file in the supplied filename and performs a keyword search using the supplied keyword.

Keywords: kbhowto kbdocs KB234225

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.