Help and Support
 

powered byLive Search

FIX: When you examine the CanOverride property of a sub procedure, the property returns an incorrect value in Visual Studio .NET

Article ID:812808
Last Review:August 24, 2005
Revision:2.0
On This Page

SYMPTOMS

In Microsoft Visual Studio .NET 2002, when you use Microsoft Visual Basic .NET to create an application that contains a CodeModel object, and then you examine the CanOverride property of a public sub procedure, the property returns a Boolean value of True instead of a Boolean value of False.

By default, public methods use the NotOverridable modifier in Visual Basic .NET. Therefore, the Boolean value of False is incorrect.

Back to the top

RESOLUTION

Service pack information

To resolve this problem, obtain the latest service pack for Microsoft Visual Studio .NET. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
837234 (http://support.microsoft.com/kb/837234/) List of bugs that are fixed in Visual Studio .NET 2002 Service Pack 1

Back to the top

Hotfix information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date         Time   Version     Size       File name
   ----------------------------------------------------
   01-Feb-2003  08:14  7.0.9661.0    585,728  Bcaut.dll
   03-Feb-2003  16:50  7.0.9661.0  1,404,928  Msvb7.dll
   03-Feb-2003  16:29  7.0.9661.0    712,704  Vbc.exe
   03-Feb-2003  16:50  7.0.9661.0  1,404,928  Msvb7.dll

Back to the top

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section of this article. This problem was first corrected in Visual Studio .NET 2002 Service Pack 1.

Back to the top

MORE INFORMATION

For additional information about the terminology that is used to describe Microsoft product updates, click the following article number to view the article in the Microsoft Knowledge Base:
824684 (http://support.microsoft.com/kb/824684/) Description of the standard terminology that is used to describe Microsoft software updates

Back to the top


APPLIES TO
Microsoft Visual Studio .NET 2002 Professional Edition
Microsoft Visual Studio .NET 2002 Enterprise Architect
Microsoft Visual Studio .NET 2002 Enterprise Developer
Microsoft Visual Studio .NET 2002 Academic Edition

Back to the top

Keywords: 
kbbug kbfix kbqfe kbvsnetpresp1fix kbvs2002sp1sweep kbvs2002sp1fix KB812808

Back to the top

Article Translations

 

Related Support Centers

Other Support Options

  • Need More Help?
    Contact a Support professional by E-mail, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.