Microsoft Knowledge Base Email Alertz

(841698) - Explains that you may receive an error message when you try to exit Visual Studio .NET 2002 after you locate the definition of a data type in the Object Browser.

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 841698 - Last Review: May 18, 2007 - Revision: 2.4

FIX: You may receive a "Microsoft Development Environment has encountered a problem and needs to close" error message when you try to exit Visual Studio .NET 2002

On This Page

SYMPTOMS

When you try to exit Microsoft Visual Studio .NET 2002 after you locate the definition of a data type in the Object Browser, you may receive the following error message:
Microsoft Development Environment has encountered a problem and needs to close. We are sorry for the inconvenience.

RESOLUTION

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://kbalertz.com/Feedback.aspx?kbNumber=837234/ ) List of bugs that are fixed in Visual Studio .NET 2002 Service Pack 1

STATUS

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

MORE INFORMATION

Steps to reproduce the problem

  1. Start Visual Studio .NET 2002.
  2. On the File menu, point to New, and then click Project.

    The New Project dialog box appears.
  3. Under Project Types, click Visual Basic Projects.
  4. Under Templates, click Console Application.
  5. In the Name box, type MyApp, and then click OK.

    By default, the Module1.vb file is created.
  6. In the Module1.vb file, locate the following code:
    Sub Main()
  7. Add the following code after the code that you located in the previous step:
    Dim MyVar As Short
  8. Move the pointer to the following text, and then click anywhere in the text to set the insertion point:

    Short

    For example, move the pointer to the previous text, and then click between "h" and "o" to set the insertion point.
  9. Right-click the insertion point, and then click Go To Definition.

    The Object Browser tool starts.
  10. On the File menu, click Exit.

    The Microsoft Development Environment dialog box appears.
  11. Click Yes to save the changes. Or, click No to discard the changes.

    You may receive the error message that is mentioned in the "Symptoms" section.

REFERENCES

For additional information, visit the following Microsoft Developer Network (MSDN) Web sites:
Object Browser
http://msdn2.microsoft.com/en-us/library/exy1facf(vs.71).aspx (http://msdn2.microsoft.com/en-us/library/exy1facf(vs.71).aspx)
Searching for symbols: objects, definitions and references
http://msdn2.microsoft.com/en-us/library/4sadchd3(vs.71).aspx (http://msdn2.microsoft.com/en-us/library/4sadchd3(vs.71).aspx)

APPLIES TO
  • Microsoft Visual Basic .NET 2002 Standard Edition
Keywords: 
kbvs2005swept kbvs2005doesnotapply kbvs2002sp1fix kbvs2002sp1sweep kberrmsg kbbug KB841698
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate