FIX: Error When Attempting to Rename Class in Class Browser

ID: Q143075

3.00 WINDOWS kbtool kbfixlist kbbuglist

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

Keywords          : FxtoolClassbrow kbbuglist kbfixlist
Version           : 3.00
Platform          : WINDOWS


Last Reviewed: January 28, 1996
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.