Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help not appearing on Workstations
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00390120
Message ID:
00390235
Vues:
10
>Hi,
>
>I've just installed an app onto a 98 workstation together with the .CHM help file. The code is defiantly setting help to the correct file and it can find the file however when you press F1 or select Help from the menu nothing happens. (Both those options work just fine on my NT development machine when the app is being run as an exe and foxpro is not running!)
>
>Is there something extra I have to install to get CHM help to work correctly?
>
>Any suggestion gratefully received.
>
>Jeremy

Hi Jeremy,

This is from MSDN.


FIX: No Help File with Distributed App
Last reviewed: October 27, 1998
Article ID: Q194196



--------------------------------------------------------------------------------

The information in this article applies to:

Microsoft Visual FoxPro for Windows, version 6.0 on the following platforms: NT, Win95, Win98, x86


SYMPTOMS
No help appears when you press F1 or when you select Microsoft Visual FoxPro Help Topics from the Help menu. This occurs with distributed applications installed on a system that does not have Visual FoxPro installed.



CAUSE
The Setup Wizard does not copy either the Foxhhelp.exe or the Foxhhelpps.dll file when you select the HTML HELP ENGINE in Step 2 of the Setup Wizard.



RESOLUTION
Copy the Foxhhelp.exe file and the Foxhhelpps.dll file from the Visual FoxPro directory to the distribution directory from which you run the Setup Wizard. During setup, Select ActiveX in step 6 for the Foxhhelpps.dll file. Also, in step 6, set the target directory to Winsysdir for the Foxhhelp.exe file and the Foxhhelpps.dll file.

When you install a distributed application on a system that does not have Visual FoxPro, you must manually register the Foxhhelp.exe file. You can do this by running the Foxhhelp.exe file with the /REGSERVER option, for example:


FOXHHELP /REGSERVER


STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.

This bug has been fixed in the updated version of the Setup Wizard Vfp6swiz.exe dated 10/08/1998.



MORE INFORMATION


Steps to Reproduce Behavior

Create a program and add the following code:


**** Code starts here
SET HELP ON
SET HELP TO mbshelp.chm



?SET("HELP")
?SET("HELP",1)
?SET("HELP",2)
?ON("key","f1")



ON KEY LABEL F6 CLEAR EVENTS
ON KEY LABEL F7 DO ShowIt
READ EVENTS



PROCEDURE ShowIt
?SET("HELP")
?SET("HELP",1)
?SET("HELP",2)
?ON("key","f1")
RETURN
**** Code ends here


Compile the program into an exe.

Create a Mbshelp.chm file or copy a .chm file from the Microsoft Developer Network directories and rename it to Mbshelp.chm.

Run the Setup Wizard and select HTML Help Engine in step 2.

Run the setup you created in step 4 and install the .exe file on a computer that does not have Visual FoxPro installed.

Run the .exe file.

Press F1.

From the Help menu, choose Microsoft Visual FoxPro Help Topics.

Press F7 to display the current SET HELP settings.

Press F6 to exit the program.

The cursor disappears until the mouse moves and no help appears. The drop- down menu disappears, but no help appears. The screen shows whether Help is on and to where the help is set.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform