DOCUMENT:Q166940  26-AUG-1999  [foxpro]
TITLE   :PRB: Error Attempting to Run Visual FoxPro Online Documentation
PRODUCT :Microsoft FoxPro
PROD/VER:5.0 5.0a
OPER/SYS:
KEYWORDS:kbdocerr kbvfp

======================================================================
-------------------------------------------------------------------------------
The information in this article applies to:

 - Microsoft Visual FoxPro for Windows, versions 5.0, 5.0a 
-------------------------------------------------------------------------------

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.

Additional query words:

======================================================================
Keywords          : kbdocerr kbvfp 
Technology        : kbVFPsearch kbAudDeveloper kbVFP500 kbVFP500a
Version           : 5.0 5.0a
Issue type        : kbprb

=============================================================================

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1999.