VS 2005 IDE hangs while editing

puccij

New member
Joined
Oct 5, 2007
Messages
2
Programming Experience
5-10
I have a windows project from which i am referencing a custom control. That control extends the standard listview. I create an instance at the beginning of my form as follows:

VB.NET:
Private WithEvents LVRatings As New NwListview2005.NWListView

Later I reference the instance:


VB.NET:
            If LVRatings.SelectedItems.Count > 0 Then
                If LVRatings.SelectedItems(0).SubItems(0).Text.Trim.ToUpper <> Functions.Data.NoDomain(Functions.Data.GetNwie).ToUpper.Trim Then
                    MessageBox.Show("You cannot delete another user's ratings")
                    Exit Sub
                End If
                With LVRatings.SelectedItems(0)
                    Dim Anlst As String = .SubItems(0).Text
                    Dim Eff As Date = CType(.SubItems(1).Text, Date)
                    Dim Tkr As String = CType(.SubItems(3).Text, String)
                    Dim Cat As String = CType(.SubItems(2).Text, String)

                    Delete_ResearchRating(Anlst, Eff, Tkr, Cat)
                    RequeryRatings()

                End With
            End If

WHen I select and copy the text "LVRatings.SelectedItems(0)" the ide hangs then crashes. The crash is usually followed by the MS Error Report Form. I have uninstalled and reinstalled my Visual Studio and I am still having the same problem.

Is this a known issue with custom controls? Any help will be greatly appreciated.

Thanks
Jim Pucci
 
Resolved, kind of....

I unistalled the DevExpress refactoring software and the problem went away. If anyone else is having problems with it i'd like to know.
 
Back
Top