Are ListViews really slow?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • TryingLikeHeck

    Are ListViews really slow?

    I have an application that uses a LIstView.
    Maybe 100 items each with 20 subitems.

    The app looks at eack item and subitem twice.
    I.e., it scans the entire set of data
    item1, sub1,sub2,...
    item2,sub1,sub2 ...
    ..
    ..
    twice

    I've never run it long enough for it to complete.
    I'm using 3GHz CPU on an XPS by Dell

    Could it be that accessing a ListView takes that long?

    Thanks for any help


  • Mike Bulava

    #2
    Re: Are ListViews really slow?

    Let see some code for populating the Listview.

    Or Maybe you want to put a BeginEdit before you start adding items and an
    EndEdit when your done that will help speed it up a little.

    "TryingLikeHeck " <tryinglikeheck @aol.com> wrote in message
    news:2003121116 0746.07958.0000 0605@mb-m16.aol.com...[color=blue]
    > I have an application that uses a LIstView.
    > Maybe 100 items each with 20 subitems.
    >
    > The app looks at eack item and subitem twice.
    > I.e., it scans the entire set of data
    > item1, sub1,sub2,...
    > item2,sub1,sub2 ...
    > .
    > .
    > twice
    >
    > I've never run it long enough for it to complete.
    > I'm using 3GHz CPU on an XPS by Dell
    >
    > Could it be that accessing a ListView takes that long?
    >
    > Thanks for any help
    >
    >[/color]


    Comment

    • Jerry Ham

      #3
      Re: Are ListViews really slow?

      Sounds like something in your code.

      I've currently got a project with a listview for Active Directory Domain
      controllers and properties (properties in the subitems). In our domain,
      there are currently 145 DC, so 145 listview items, each with 5 subitems. I
      don't see any slowness there at all.

      Jerry

      "TryingLikeHeck " <tryinglikeheck @aol.com> wrote in message
      news:2003121116 0746.07958.0000 0605@mb-m16.aol.com...[color=blue]
      > I have an application that uses a LIstView.
      > Maybe 100 items each with 20 subitems.
      >
      > The app looks at eack item and subitem twice.
      > I.e., it scans the entire set of data
      > item1, sub1,sub2,...
      > item2,sub1,sub2 ...
      > .
      > .
      > twice
      >
      > I've never run it long enough for it to complete.
      > I'm using 3GHz CPU on an XPS by Dell
      >
      > Could it be that accessing a ListView takes that long?
      >
      > Thanks for any help
      >
      >[/color]


      Comment

      • CJ Taylor

        #4
        Re: Are ListViews really slow?

        I wouldn't access the ListView itself, but the datasource the you loaded it
        from. That or just search the index of the listview. By default, you
        really shouldn't use any sort of UI for your business logic

        =CJ
        "TryingLikeHeck " <tryinglikeheck @aol.com> wrote in message
        news:2003121116 0746.07958.0000 0605@mb-m16.aol.com...[color=blue]
        > I have an application that uses a LIstView.
        > Maybe 100 items each with 20 subitems.
        >
        > The app looks at eack item and subitem twice.
        > I.e., it scans the entire set of data
        > item1, sub1,sub2,...
        > item2,sub1,sub2 ...
        > .
        > .
        > twice
        >
        > I've never run it long enough for it to complete.
        > I'm using 3GHz CPU on an XPS by Dell
        >
        > Could it be that accessing a ListView takes that long?
        >
        > Thanks for any help
        >
        >[/color]


        Comment

        • Armin Zingler

          #5
          Re: Are ListViews really slow?

          "TryingLikeHeck " <tryinglikeheck @aol.com> schrieb[color=blue]
          > I have an application that uses a LIstView.
          > Maybe 100 items each with 20 subitems.
          >
          > The app looks at eack item and subitem twice.
          > I.e., it scans the entire set of data
          > item1, sub1,sub2,...
          > item2,sub1,sub2 ...
          > .
          > .
          > twice
          >
          > I've never run it long enough for it to complete.
          > I'm using 3GHz CPU on an XPS by Dell
          >
          > Could it be that accessing a ListView takes that long?[/color]

          Code?


          --
          Armin




          Comment

          • CJ Taylor

            #6
            Re: Are ListViews really slow?

            You have 145 Domain Controllers???


            "Jerry Ham" <No-Spam@Somplace.n et> wrote in message
            news:%235NjiwCw DHA.2452@tk2msf tngp13.phx.gbl. ..[color=blue]
            > Sounds like something in your code.
            >
            > I've currently got a project with a listview for Active Directory Domain
            > controllers and properties (properties in the subitems). In our domain,
            > there are currently 145 DC, so 145 listview items, each with 5 subitems. I
            > don't see any slowness there at all.
            >
            > Jerry
            >
            > "TryingLikeHeck " <tryinglikeheck @aol.com> wrote in message
            > news:2003121116 0746.07958.0000 0605@mb-m16.aol.com...[color=green]
            > > I have an application that uses a LIstView.
            > > Maybe 100 items each with 20 subitems.
            > >
            > > The app looks at eack item and subitem twice.
            > > I.e., it scans the entire set of data
            > > item1, sub1,sub2,...
            > > item2,sub1,sub2 ...
            > > .
            > > .
            > > twice
            > >
            > > I've never run it long enough for it to complete.
            > > I'm using 3GHz CPU on an XPS by Dell
            > >
            > > Could it be that accessing a ListView takes that long?
            > >
            > > Thanks for any help
            > >
            > >[/color]
            >
            >[/color]


            Comment

            • paul

              #7
              Re: Are ListViews really slow?

              I have noticed the same thing. I also have an app that
              can have well over a couple of thousand ListViewItems and
              it is really slow to draw. I use the AddRange function
              to do all the drawing but there isnt much difference from
              just using the simple Add(). My code looks like this:

              For idx = 0 To theFile.TestDat aProp.PtrDataPr op.Length - 1
              elements(idx) = New ListViewItem
              theFile.TestDat aProp.
              PtrDataProp(idx ).DataProp)
              Next
              theFile.form.Dr awGrid(elements ,
              theFile.form.Li stViewDataProp( ))

              Public Sub DrawGrid(ByRef ele() As ListViewItem, ByRef
              grid As ListView)
              grid.Items.AddR ange(ele)
              End Sub

              could it be all that access of the form. I sort of
              inherited the code base so i kept the basic structure i
              was given

              -paul[color=blue]
              >-----Original Message-----
              >Let see some code for populating the Listview.
              >
              >Or Maybe you want to put a BeginEdit before you start[/color]
              adding items and an[color=blue]
              >EndEdit when your done that will help speed it up a[/color]
              little.[color=blue]
              >
              >"TryingLikeHec k" <tryinglikeheck @aol.com> wrote in[/color]
              message[color=blue]
              >news:200312111 60746.07958.000 00605@mb-m16.aol.com...[color=green]
              >> I have an application that uses a LIstView.
              >> Maybe 100 items each with 20 subitems.
              >>
              >> The app looks at eack item and subitem twice.
              >> I.e., it scans the entire set of data
              >> item1, sub1,sub2,...
              >> item2,sub1,sub2 ...
              >> .
              >> .
              >> twice
              >>
              >> I've never run it long enough for it to complete.
              >> I'm using 3GHz CPU on an XPS by Dell
              >>
              >> Could it be that accessing a ListView takes that long?
              >>
              >> Thanks for any help
              >>
              >>[/color]
              >
              >
              >.
              >[/color]

              Comment

              • Jerry Ham

                #8
                Re: Are ListViews really slow?

                Yes - and over 2300 IP subnets and over 180 countries.
                Major sites may have several DC's, minor sites have 1, and sites with less
                than 100 users logon over the WAN.

                Jerry

                "CJ Taylor" <nospam@blowgoa ts.com> wrote in message
                news:vthr0ei6ba ic32@corp.super news.com...[color=blue]
                > You have 145 Domain Controllers???
                >
                >
                > "Jerry Ham" <No-Spam@Somplace.n et> wrote in message
                > news:%235NjiwCw DHA.2452@tk2msf tngp13.phx.gbl. ..[color=green]
                > > Sounds like something in your code.
                > >
                > > I've currently got a project with a listview for Active Directory Domain
                > > controllers and properties (properties in the subitems). In our domain,
                > > there are currently 145 DC, so 145 listview items, each with 5 subitems.[/color][/color]
                I[color=blue][color=green]
                > > don't see any slowness there at all.
                > >
                > > Jerry
                > >
                > > "TryingLikeHeck " <tryinglikeheck @aol.com> wrote in message
                > > news:2003121116 0746.07958.0000 0605@mb-m16.aol.com...[color=darkred]
                > > > I have an application that uses a LIstView.
                > > > Maybe 100 items each with 20 subitems.
                > > >
                > > > The app looks at eack item and subitem twice.
                > > > I.e., it scans the entire set of data
                > > > item1, sub1,sub2,...
                > > > item2,sub1,sub2 ...
                > > > .
                > > > .
                > > > twice
                > > >
                > > > I've never run it long enough for it to complete.
                > > > I'm using 3GHz CPU on an XPS by Dell
                > > >
                > > > Could it be that accessing a ListView takes that long?
                > > >
                > > > Thanks for any help
                > > >
                > > >[/color]
                > >
                > >[/color]
                >
                >[/color]


                Comment

                • active

                  #9
                  Re: Are ListViews really slow?

                  Thanks for the replies. From them I get the understanding that ListViews are
                  not noted for being slow so I'll continue to look for better ways of doing
                  what I'm doing. The code is not short and I wouldn't expect anyone to spend
                  the time necessary to study it. I have already found a few places where I
                  can save some data instead of scanning more than once .

                  It also has a few redim perserve's that may slow things down.

                  Thanks again



                  "TryingLikeHeck " <tryinglikeheck @aol.com> wrote in message
                  news:2003121116 0746.07958.0000 0605@mb-m16.aol.com...[color=blue]
                  > I have an application that uses a LIstView.
                  > Maybe 100 items each with 20 subitems.
                  >
                  > The app looks at eack item and subitem twice.
                  > I.e., it scans the entire set of data
                  > item1, sub1,sub2,...
                  > item2,sub1,sub2 ...
                  > .
                  > .
                  > twice
                  >
                  > I've never run it long enough for it to complete.
                  > I'm using 3GHz CPU on an XPS by Dell
                  >
                  > Could it be that accessing a ListView takes that long?
                  >
                  > Thanks for any help
                  >
                  >[/color]


                  Comment

                  • Cor

                    #10
                    Re: Are ListViews really slow?

                    Hi Active,

                    Slow is always subjective.

                    When you have a very wide Wan, you will have many thin parts in the pipeline
                    and the listview will probably not be the most important in that.

                    When you are on a computer that has direct access the full datatable all the
                    time without any data access problem, your listview will become earlier a
                    part of that pipeline to get the data.

                    I think a good comparer is explorer, that is a listview also and the user is
                    accepting it.

                    Therefore, in my eyes, when your program is much slower than explorer in
                    colleting data, you have a problem.

                    Although when you use things as redim I really think, that you have to check
                    what the arraylist of other fast ilist class can do for you.

                    Just a though

                    Cor



                    Comment

                    • CJ Taylor

                      #11
                      Re: Are ListViews really slow?

                      We have 100 users here so we only use 2 of them. I understand that the
                      reasoning for so many, was just straight out impressed by the number. =)

                      How many users? 50k? 100k? What do you do?

                      -CJ


                      "Jerry Ham" <No-Spam@Somplace.n et> wrote in message
                      news:e5Wt$fEwDH A.2456@TK2MSFTN GP12.phx.gbl...[color=blue]
                      > Yes - and over 2300 IP subnets and over 180 countries.
                      > Major sites may have several DC's, minor sites have 1, and sites with less
                      > than 100 users logon over the WAN.
                      >
                      > Jerry
                      >
                      > "CJ Taylor" <nospam@blowgoa ts.com> wrote in message
                      > news:vthr0ei6ba ic32@corp.super news.com...[color=green]
                      > > You have 145 Domain Controllers???
                      > >
                      > >
                      > > "Jerry Ham" <No-Spam@Somplace.n et> wrote in message
                      > > news:%235NjiwCw DHA.2452@tk2msf tngp13.phx.gbl. ..[color=darkred]
                      > > > Sounds like something in your code.
                      > > >
                      > > > I've currently got a project with a listview for Active Directory[/color][/color][/color]
                      Domain[color=blue][color=green][color=darkred]
                      > > > controllers and properties (properties in the subitems). In our[/color][/color][/color]
                      domain,[color=blue][color=green][color=darkred]
                      > > > there are currently 145 DC, so 145 listview items, each with 5[/color][/color][/color]
                      subitems.[color=blue]
                      > I[color=green][color=darkred]
                      > > > don't see any slowness there at all.
                      > > >
                      > > > Jerry
                      > > >
                      > > > "TryingLikeHeck " <tryinglikeheck @aol.com> wrote in message
                      > > > news:2003121116 0746.07958.0000 0605@mb-m16.aol.com...
                      > > > > I have an application that uses a LIstView.
                      > > > > Maybe 100 items each with 20 subitems.
                      > > > >
                      > > > > The app looks at eack item and subitem twice.
                      > > > > I.e., it scans the entire set of data
                      > > > > item1, sub1,sub2,...
                      > > > > item2,sub1,sub2 ...
                      > > > > .
                      > > > > .
                      > > > > twice
                      > > > >
                      > > > > I've never run it long enough for it to complete.
                      > > > > I'm using 3GHz CPU on an XPS by Dell
                      > > > >
                      > > > > Could it be that accessing a ListView takes that long?
                      > > > >
                      > > > > Thanks for any help
                      > > > >
                      > > > >
                      > > >
                      > > >[/color]
                      > >
                      > >[/color]
                      >
                      >[/color]


                      Comment

                      • CJ Taylor

                        #12
                        Re: Are ListViews really slow?

                        Just thought about this too and don't know if it was brought up, but did you
                        try to Suspend the layout (calling SuspendLayout) which would prevent it
                        from being painted and taking up other valuable CPU time.

                        -CJ
                        "Cor" <non@non.com> wrote in message
                        news:eNGBN%23Iw DHA.2712@tk2msf tngp13.phx.gbl. ..[color=blue]
                        > Hi Active,
                        >
                        > Slow is always subjective.
                        >
                        > When you have a very wide Wan, you will have many thin parts in the[/color]
                        pipeline[color=blue]
                        > and the listview will probably not be the most important in that.
                        >
                        > When you are on a computer that has direct access the full datatable all[/color]
                        the[color=blue]
                        > time without any data access problem, your listview will become earlier a
                        > part of that pipeline to get the data.
                        >
                        > I think a good comparer is explorer, that is a listview also and the user[/color]
                        is[color=blue]
                        > accepting it.
                        >
                        > Therefore, in my eyes, when your program is much slower than explorer in
                        > colleting data, you have a problem.
                        >
                        > Although when you use things as redim I really think, that you have to[/color]
                        check[color=blue]
                        > what the arraylist of other fast ilist class can do for you.
                        >
                        > Just a though
                        >
                        > Cor
                        >
                        >
                        >[/color]


                        Comment

                        • Jerry Ham

                          #13
                          Re: Are ListViews really slow?

                          53,000 computers - slightly more users as there is some shift work, etc.
                          where they share machines.

                          I am a team lead on the team that designs our desktop image (Windows,
                          Office, custom apps, etc) and does custom coding for our image as well. We
                          create tools, etc. for the support staff to use.

                          Jerry

                          "CJ Taylor" <nospam@blowgoa ts.com> wrote in message
                          news:vtjgudt2r2 8n4b@corp.super news.com...[color=blue]
                          > We have 100 users here so we only use 2 of them. I understand that the
                          > reasoning for so many, was just straight out impressed by the number. =)
                          >
                          > How many users? 50k? 100k? What do you do?
                          >
                          > -CJ
                          >
                          >
                          > "Jerry Ham" <No-Spam@Somplace.n et> wrote in message
                          > news:e5Wt$fEwDH A.2456@TK2MSFTN GP12.phx.gbl...[color=green]
                          > > Yes - and over 2300 IP subnets and over 180 countries.
                          > > Major sites may have several DC's, minor sites have 1, and sites with[/color][/color]
                          less[color=blue][color=green]
                          > > than 100 users logon over the WAN.
                          > >
                          > > Jerry
                          > >
                          > > "CJ Taylor" <nospam@blowgoa ts.com> wrote in message
                          > > news:vthr0ei6ba ic32@corp.super news.com...[color=darkred]
                          > > > You have 145 Domain Controllers???
                          > > >
                          > > >
                          > > > "Jerry Ham" <No-Spam@Somplace.n et> wrote in message
                          > > > news:%235NjiwCw DHA.2452@tk2msf tngp13.phx.gbl. ..
                          > > > > Sounds like something in your code.
                          > > > >
                          > > > > I've currently got a project with a listview for Active Directory[/color][/color]
                          > Domain[color=green][color=darkred]
                          > > > > controllers and properties (properties in the subitems). In our[/color][/color]
                          > domain,[color=green][color=darkred]
                          > > > > there are currently 145 DC, so 145 listview items, each with 5[/color][/color]
                          > subitems.[color=green]
                          > > I[color=darkred]
                          > > > > don't see any slowness there at all.
                          > > > >
                          > > > > Jerry
                          > > > >
                          > > > > "TryingLikeHeck " <tryinglikeheck @aol.com> wrote in message
                          > > > > news:2003121116 0746.07958.0000 0605@mb-m16.aol.com...
                          > > > > > I have an application that uses a LIstView.
                          > > > > > Maybe 100 items each with 20 subitems.
                          > > > > >
                          > > > > > The app looks at eack item and subitem twice.
                          > > > > > I.e., it scans the entire set of data
                          > > > > > item1, sub1,sub2,...
                          > > > > > item2,sub1,sub2 ...
                          > > > > > .
                          > > > > > .
                          > > > > > twice
                          > > > > >
                          > > > > > I've never run it long enough for it to complete.
                          > > > > > I'm using 3GHz CPU on an XPS by Dell
                          > > > > >
                          > > > > > Could it be that accessing a ListView takes that long?
                          > > > > >
                          > > > > > Thanks for any help
                          > > > > >
                          > > > > >
                          > > > >
                          > > > >
                          > > >
                          > > >[/color]
                          > >
                          > >[/color]
                          >
                          >[/color]


                          Comment

                          • CJ Taylor

                            #14
                            Re: Are ListViews really slow?

                            That is awesome. I have to ask, what is the name of the beast you work for?

                            I want to say something in insurance.. but I could be wrong.

                            "Jerry Ham" <No-Spam@Somplace.n et> wrote in message
                            news:Ol7lt8MwDH A.2340@TK2MSFTN GP12.phx.gbl...[color=blue]
                            > 53,000 computers - slightly more users as there is some shift work, etc.
                            > where they share machines.
                            >
                            > I am a team lead on the team that designs our desktop image (Windows,
                            > Office, custom apps, etc) and does custom coding for our image as well. We
                            > create tools, etc. for the support staff to use.
                            >
                            > Jerry
                            >
                            > "CJ Taylor" <nospam@blowgoa ts.com> wrote in message
                            > news:vtjgudt2r2 8n4b@corp.super news.com...[color=green]
                            > > We have 100 users here so we only use 2 of them. I understand that the
                            > > reasoning for so many, was just straight out impressed by the number. =)
                            > >
                            > > How many users? 50k? 100k? What do you do?
                            > >
                            > > -CJ
                            > >
                            > >
                            > > "Jerry Ham" <No-Spam@Somplace.n et> wrote in message
                            > > news:e5Wt$fEwDH A.2456@TK2MSFTN GP12.phx.gbl...[color=darkred]
                            > > > Yes - and over 2300 IP subnets and over 180 countries.
                            > > > Major sites may have several DC's, minor sites have 1, and sites with[/color][/color]
                            > less[color=green][color=darkred]
                            > > > than 100 users logon over the WAN.
                            > > >
                            > > > Jerry
                            > > >
                            > > > "CJ Taylor" <nospam@blowgoa ts.com> wrote in message
                            > > > news:vthr0ei6ba ic32@corp.super news.com...
                            > > > > You have 145 Domain Controllers???
                            > > > >
                            > > > >
                            > > > > "Jerry Ham" <No-Spam@Somplace.n et> wrote in message
                            > > > > news:%235NjiwCw DHA.2452@tk2msf tngp13.phx.gbl. ..
                            > > > > > Sounds like something in your code.
                            > > > > >
                            > > > > > I've currently got a project with a listview for Active Directory[/color]
                            > > Domain[color=darkred]
                            > > > > > controllers and properties (properties in the subitems). In our[/color]
                            > > domain,[color=darkred]
                            > > > > > there are currently 145 DC, so 145 listview items, each with 5[/color]
                            > > subitems.[color=darkred]
                            > > > I
                            > > > > > don't see any slowness there at all.
                            > > > > >
                            > > > > > Jerry
                            > > > > >
                            > > > > > "TryingLikeHeck " <tryinglikeheck @aol.com> wrote in message
                            > > > > > news:2003121116 0746.07958.0000 0605@mb-m16.aol.com...
                            > > > > > > I have an application that uses a LIstView.
                            > > > > > > Maybe 100 items each with 20 subitems.
                            > > > > > >
                            > > > > > > The app looks at eack item and subitem twice.
                            > > > > > > I.e., it scans the entire set of data
                            > > > > > > item1, sub1,sub2,...
                            > > > > > > item2,sub1,sub2 ...
                            > > > > > > .
                            > > > > > > .
                            > > > > > > twice
                            > > > > > >
                            > > > > > > I've never run it long enough for it to complete.
                            > > > > > > I'm using 3GHz CPU on an XPS by Dell
                            > > > > > >
                            > > > > > > Could it be that accessing a ListView takes that long?
                            > > > > > >
                            > > > > > > Thanks for any help
                            > > > > > >
                            > > > > > >
                            > > > > >
                            > > > > >
                            > > > >
                            > > > >
                            > > >
                            > > >[/color]
                            > >
                            > >[/color]
                            >
                            >[/color]


                            Comment

                            • Jerry Ham

                              #15
                              Re: Are ListViews really slow?

                              Its an oil company - ChevronTexaco

                              Jerry

                              "CJ Taylor" <nospam@blowgoa ts.com> wrote in message
                              news:vtjsssqrq6 pl96@corp.super news.com...[color=blue]
                              > That is awesome. I have to ask, what is the name of the beast you work[/color]
                              for?[color=blue]
                              >
                              > I want to say something in insurance.. but I could be wrong.
                              >
                              > "Jerry Ham" <No-Spam@Somplace.n et> wrote in message
                              > news:Ol7lt8MwDH A.2340@TK2MSFTN GP12.phx.gbl...[color=green]
                              > > 53,000 computers - slightly more users as there is some shift work, etc.
                              > > where they share machines.
                              > >
                              > > I am a team lead on the team that designs our desktop image (Windows,
                              > > Office, custom apps, etc) and does custom coding for our image as well.[/color][/color]
                              We[color=blue][color=green]
                              > > create tools, etc. for the support staff to use.
                              > >
                              > > Jerry
                              > >
                              > > "CJ Taylor" <nospam@blowgoa ts.com> wrote in message
                              > > news:vtjgudt2r2 8n4b@corp.super news.com...[color=darkred]
                              > > > We have 100 users here so we only use 2 of them. I understand that[/color][/color][/color]
                              the[color=blue][color=green][color=darkred]
                              > > > reasoning for so many, was just straight out impressed by the number.[/color][/color][/color]
                              =)[color=blue][color=green][color=darkred]
                              > > >
                              > > > How many users? 50k? 100k? What do you do?
                              > > >
                              > > > -CJ
                              > > >
                              > > >
                              > > > "Jerry Ham" <No-Spam@Somplace.n et> wrote in message
                              > > > news:e5Wt$fEwDH A.2456@TK2MSFTN GP12.phx.gbl...
                              > > > > Yes - and over 2300 IP subnets and over 180 countries.
                              > > > > Major sites may have several DC's, minor sites have 1, and sites[/color][/color][/color]
                              with[color=blue][color=green]
                              > > less[color=darkred]
                              > > > > than 100 users logon over the WAN.
                              > > > >
                              > > > > Jerry
                              > > > >
                              > > > > "CJ Taylor" <nospam@blowgoa ts.com> wrote in message
                              > > > > news:vthr0ei6ba ic32@corp.super news.com...
                              > > > > > You have 145 Domain Controllers???
                              > > > > >
                              > > > > >
                              > > > > > "Jerry Ham" <No-Spam@Somplace.n et> wrote in message
                              > > > > > news:%235NjiwCw DHA.2452@tk2msf tngp13.phx.gbl. ..
                              > > > > > > Sounds like something in your code.
                              > > > > > >
                              > > > > > > I've currently got a project with a listview for Active[/color][/color][/color]
                              Directory[color=blue][color=green][color=darkred]
                              > > > Domain
                              > > > > > > controllers and properties (properties in the subitems). In our
                              > > > domain,
                              > > > > > > there are currently 145 DC, so 145 listview items, each with 5
                              > > > subitems.
                              > > > > I
                              > > > > > > don't see any slowness there at all.
                              > > > > > >
                              > > > > > > Jerry
                              > > > > > >
                              > > > > > > "TryingLikeHeck " <tryinglikeheck @aol.com> wrote in message
                              > > > > > > news:2003121116 0746.07958.0000 0605@mb-m16.aol.com...
                              > > > > > > > I have an application that uses a LIstView.
                              > > > > > > > Maybe 100 items each with 20 subitems.
                              > > > > > > >
                              > > > > > > > The app looks at eack item and subitem twice.
                              > > > > > > > I.e., it scans the entire set of data
                              > > > > > > > item1, sub1,sub2,...
                              > > > > > > > item2,sub1,sub2 ...
                              > > > > > > > .
                              > > > > > > > .
                              > > > > > > > twice
                              > > > > > > >
                              > > > > > > > I've never run it long enough for it to complete.
                              > > > > > > > I'm using 3GHz CPU on an XPS by Dell
                              > > > > > > >
                              > > > > > > > Could it be that accessing a ListView takes that long?
                              > > > > > > >
                              > > > > > > > Thanks for any help
                              > > > > > > >
                              > > > > > > >
                              > > > > > >
                              > > > > > >
                              > > > > >
                              > > > > >
                              > > > >
                              > > > >
                              > > >
                              > > >[/color]
                              > >
                              > >[/color]
                              >
                              >[/color]


                              Comment

                              Working...