Microsoft KB Archive/153794

= FIX: Error #36 in dofoxdoc(0) While Running Documenting Wizard =

Article ID: 153794

Article Last Modified on 3/24/2000

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition

-



This article was previously published under Q153794



SYMPTOMS
When running the Documenting Wizard on a project containing a form, the following error occurs:

"Error #36 in dofoxdoc(0): command contains unrecognized phrase/keyword"



CAUSE
The directory containing the project has a space in its name.



STATUS
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in FoxPro for Windows 3.0b. See the References section of this article for more information.



MORE INFORMATION
The Documenting Wizard is used to create a detailed report about a project, form, report, etc. In this situation, the Documenting Wizard does not know how to react to a folder name that has a space in it. This is only a problem on Windows 95 because Windows 3.1 does not allow spaces in a directory name.

Steps to Reproduce Problem

 * 1) Create a folder called My Folder. Note the space between "My" and "Folder".
 * 2) Create a project called MyProj and place it in the "My Folder" folder.
 * 3) Create a form in the project and place it in the "My Folder" folder.
 * 4) From the Tools menu, select Wizards, and choose Documenting Wizard.
 * 5) In Step 1, choose MyProj from the "My Folder" folder as the source file.
 * 6) Click the Finish button, and keep the "Place Files in a single directory" button checked.
 * 7) Click the Finish button again, and choose any directory to place the Documenting Wizard files in.
 * 8) Note that the error occurs and does not create the documenting files.

