Microsoft KB Archive/305404

From BetaArchive Wiki
Knowledge Base


Article ID: 305404

Article Last Modified on 2/12/2007



APPLIES TO

  • Microsoft Visual Basic 2005 Express Edition
  • Microsoft Visual Basic .NET 2003 Standard Edition
  • Microsoft Visual Basic .NET 2002 Standard Edition



This article was previously published under Q305404

SYMPTOMS

When you are working in a Microsoft Visual Basic project, if you type a period after an object name, the AutoListMembers list box appears but does not list the method, the property, or the event that you want. The method, event, or property is listed in Help and in the object browser, but not in IntelliSense.

CAUSE

The Microsoft Visual Studio 2005 or Microsoft Visual Studio .NET user interface (UI) includes a project option that limits what is displayed in IntelliSense. This option, which is called Hide Advanced Members, is specific to each programming language. For Microsoft Visual C#, this option is set to False by default. For Visual Basic, the option is set to True by default.

RESOLUTION

Because the option applies to a programming language and not to an individual project, you only need to change it one time. To change the Hide Advanced Members setting, follow these steps:

  1. On the Tools menu, click Options.
  2. In the left pane of the Options dialog box, click Text Editor, and then click Basic.
  3. If General is not selected as the current item, click General.
  4. Under Statement Completion, clear the Hide advanced members check box.
  5. Click OK to close the Options dialog box.
  6. Return to your project. The method, property, or event should now appear in the drop-down list box.


MORE INFORMATION

The terms "IntelliSense" and "AutoListMembers" are used interchangeably in this article.

REFERENCES

For more information, see the "Language Editor Options" MSDN Help topic.

Keywords: kbtshoot kbvs2005applies kbvs2005swept kbideproject kbprb KB305404