Article ID: 189709 - Last Review: March 3, 2005 - Revision: 1.3

FIX: Class Browser Code Does Not Show Correct Visibility

This article was previously published under Q189709

On This Page

Expand all | Collapse all

SYMPTOMS

When you view class code in the Class Browser, some procedures might not reflect their true visibility. An intrinsic method that has been marked Hidden or Protected might be represented as Public in the code generated by the Class Browser.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

This bug has been fixed in the updated version of the Setup Wizard Vfp6swiz.exe dated 10/08/1998.

This bug was corrected in Visual Studio 6.0 Service Pack 3. For more information about Visual Studio service packs, please see the following articles in the Microsoft Knowledge Base:

194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why  (http://support.microsoft.com/kb/194022/EN-US/ )

194295 HOWTO: Tell That Visual Studio 6.0 Service Packs Are Installed  (http://support.microsoft.com/kb/194295/EN-US/ )

MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a new visual class based on a form.
  2. Change the Visibility of the Error method to Hidden.
  3. Add some code to the Error method.
  4. Open this class in the Class Browser.
  5. View the class code.

    RESULT: The generated code does not indicate that the Error method is Hidden.

REFERENCES

For more information on the updated Setup Wizard, please see the following URL:

http://msdn.microsoft.com/en-us/vfoxpro/bb190232.aspx (http://msdn.microsoft.com/en-us/vfoxpro/bb190232.aspx)

APPLIES TO
  • Microsoft Visual FoxPro 5.0 Standard Edition
  • Microsoft Visual FoxPro 5.0a
  • Microsoft Visual FoxPro 6.0 Professional Edition
Keywords: 
kbappsetup kbbug kbfix kbvs600sp3fix kbxbase KB189709
 

Article Translations