Microsoft KB Archive/166940

From BetaArchive Wiki
Knowledge Base


PRB: Error Attempting to Run Visual FoxPro Online Documentation

Article ID: 166940

Article Last Modified on 8/26/1999



APPLIES TO

  • Microsoft Visual FoxPro 5.0 Standard Edition
  • Microsoft Visual FoxPro 5.0a



This article was previously published under Q166940

SYMPTOMS

When attempting to run the Visual FoxPro Online Documentation, the following, or similar, error may occur:

VFPDOCS
Run-time error '5'
Invalid procedure call

The error occurs after attempting to read the CD-ROM in the drive.

CAUSE

The cause of the error is most likely corrupted or invalid registry entries.

RESOLUTION

To solve the problem, first delete the registry key "Visual FoxPro Online Documentation." The location of this key in the registry is as follows:

   My Computer
     HKEY_CURRENT_USER
       Software
         VB and VBA Program Settings
           MSeries
                

After deleting the key from the registry, rerun the Online Documentation. When the dialog box prompts for the location of the documentation, point to the file "Vfp\Online\Vfpdocs.exe" on the CD.

Keywords: kbprb kbdocerr KB166940