FIX: Error When Attempting to Rename Class in Class Browser

Last reviewed: January 26, 1996
Article ID: Q143075
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, version 3.0

SYMPTOMS

When attempting to rename a class in the Class Browser, you may receive the error message:

   Class <classname> is not found in the class library.
   Browser: classbrowser1
   Object: classbrowser1
   Method: renameclass

where <classname> is the name of the class that you are attempting to rename.

CAUSE

You will receive this message if all of the following conditions exist:

- You are running Visual FoxPro 3.0. - You are using the Class Browser to rename a class. - The name of the class that you are attempting to rename contains extended

  ASCII characters.

WORKAROUND

  • Use the Rename Class command in the Command window to rename the class.

    -or-

  • Upgrade to Visual FoxPro version 3.0b.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft product listed at the beginning of this article. This problem was corrected in Microsoft Visual FoxPro 3.0b for Windows.

MORE INFORMATION

Steps to Reproduce Problem

  1. Open or switch to Microsoft Visual FoxPro 3.0.

  2. Type Create Class in the Command window and press ENTER. This will open the New Class dialog box.

  3. Type ALT+0244 into the Class Name text box (this will create an extended ASCII character). Base the class on a check box (default) and store it in C:\Myclass.vcx.

  4. Choose Class Browser from the Tools menu and open C:\Myclass.vcx.

  5. Highlight the class and attempt to rename it. The error will now occur.


Additional reference words: 3.00 VFoxWin buglist3.00 fixlist3.00b
KBCategory: kbtool kbfixlist kbbuglist
KBSubcategory: FxtoolClassbrow


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.

Last reviewed: January 26, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.