Microsoft KB Archive/935204

= FIX: The Visual Studio 2005 IDE may respond very slowly or may stop responding when you drag a DataGridView control to a Windows-based form =

Article ID: 935204

Article Last Modified on 8/8/2007

-

APPLIES TO


 * Microsoft Visual Studio 2005 Standard Edition
 * Microsoft Visual Studio 2005 Professional Edition
 * Microsoft Visual Studio 2005 Express Edition

-



Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



SYMPTOMS
In the Microsoft Visual Studio 2005 IDE, you have a DataGridView control that contains a table. When you drag the DataGridView control from Data Sources to a Microsoft Windows-based form, the Visual Studio 2005 IDE may respond very slowly or may stop responding.



CAUSE
This problem occurs because of an issue in the Visual Studio 2005 IDE.



Hotfix information
A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only 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 Visual Studio 2005 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer 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.

Prerequisites
You must have Microsoft Visual Studio 2005 Service Pack 1 installed to apply this hotfix.

Restart requirement
You do not have to restart the computer after you apply this hotfix.

Hotfix replacement information
This hotfix does not replace any other hotfixes.

Registry information
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

After you apply this hotfix, you must enable the DisableSmartTaskCommandService registry entry. To do this, follow these steps:   Create a text file that contains the following information. [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\SmartTasks] &quot;DisableSmartTaskCommandService&quot;=dword:00000001  Save the file. Name the file DisableSmartTaskCommandService.reg. Double-click the DisableSmartTaskCommandService.reg file to add or to update the registry key.

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 item in Control Panel.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



Call stack information
0012f3ac 0215a0d5 [MulticastFrame: 0012f3ac] System.EventHandler.Invoke(System.Object, System.EventArgs) 0012f3c0 0a22cab3 System.Windows.Forms.CurrencyManager.OnCurrentChanged(System.EventArgs) 0012f3f8 10b72999 System.Windows.Forms.CurrencyManager.List_ListChanged(System.Object, System.ComponentModel.ListChangedEventArgs) 0012f42c 651e5005 System.Data.DataView.OnListChanged(System.ComponentModel.ListChangedEventArgs) 0012f464 651e3e4b System.Data.DataView.FinishAddNew(Int32, Boolean) 0012f4a4 651c1a18 System.Data.DataRowView.CancelEdit 0012f4b0 0a22e9bc System.Windows.Forms.CurrencyManager.CancelCurrentEdit 0012f4c0 0a22ce21 System.Windows.Forms.RelatedCurrencyManager.ParentManager_CurrentItemChanged(System.Object, System.EventArgs) For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Additional query words: hang

Keywords: kbexpertiseadvanced kbfix kbpubtypekc kbqfe kbhotfixserver KB935204

-

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

© Microsoft Corporation. All rights reserved.