Microsoft KB Archive/143075

= FIX: Error When Attempting to Rename Class in Class Browser =

Article ID: 143075

Article Last Modified on 3/24/2000

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition

-



This article was previously published under Q143075



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

Class is not found in the class library.

Browser: classbrowser1

Object: classbrowser1

Method: renameclass

where 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.



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 query words: VFoxWin buglist3.00 fixlist3.00b

Keywords: kbbug kbfix KB143075

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.