Microsoft KB Archive/834907

= FIX: The Visual Studio .NET 2002 IDE crashes when a double array property of a user control is set to a very small value or to a very large value =

Article ID: 834907

Article Last Modified on 10/25/2005

-

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
 * Microsoft .NET Framework 1.0

-





SYMPTOMS
The Microsoft Visual Studio .NET 2002 IDE stops responding when you build a solution or when you try to open a form that hosts a Microsoft .NET Framework 1.0 user control in Designer view. This problem occurs when a double array property of a user control is set to a very small value or to a very large value. You do not receive an error message when this problem occurs. If you try to reopen the solution, the Visual Studio .NET 2002 IDE stops responding again. You still do not receive an error message. A value such as 1E210 could cause this problem to occur.



Service pack information
To resolve this problem, obtain the latest service pack for the Microsoft .NET Framework 1.0. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

318836 How to obtain the latest .NET Framework 1.0 service pack

Hotfix information
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next .NET Framework 1.0 that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

File 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 -- 02-Sep-2004 03:57  7.0.9764.0        589,824  Cscomp.dll 02-Sep-2004 04:24  7.0.9764.0        716,800  Cslangsvc.dll 02-Sep-2004 10:43  1.0.3705.482    1,179,648  Microsoft.visualstudio.dll



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the &quot;Applies to&quot; section. This problem was first corrected in the .NET Framework 1.0 Service Pack 2.



Steps to reproduce the behavior
 Start Microsoft Visual Studio .NET. On the File menu, point to New, and then click Project. In the Project Types section, click Visual C# Projects. In the Templates section, click Windows Application, type Q834907 in the Name box, and then click OK. On the File menu, click Add New Item.</li> In the Add New Item dialog box, click User Control, and then click Open.</li> On the View menu, click Code.</li>  In UserControl1.cs, add the following code. double[] _ArrayOfDoubles = new double[5]; public double[] ArrayOfDbl {   get {       return _ArrayOfDoubles; }   set {       _ArrayOfDoubles = value; } } </li> On the Build menu, click Build Solution.</li> In the Form1 design view, drag UserControl1 from My User Controls in the toolbox to the Form1 form.</li> Select the ArrayofDbl property of the user control in Properties.</li> Set the value of 1E210 for the first member in the array.</li> On the Build menu, click Rebuild Solution.</li></ol>

Additional query words: VS .NET 2002 IDE

Keywords: kbfix kbqfe kbnetframe100sp2fix kbprogramming kbideproject kbhotfixserver KB834907

-

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

© Microsoft Corporation. All rights reserved.