473,386 Members | 1,606 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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
Nov 20 '05 #1
21 1521
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" <tr************@aol.com> wrote in message
news:20***************************@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

Nov 20 '05 #2
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" <tr************@aol.com> wrote in message
news:20***************************@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

Nov 20 '05 #3
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" <tr************@aol.com> wrote in message
news:20***************************@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

Nov 20 '05 #4
"TryingLikeHeck" <tr************@aol.com> schrieb
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?


Code?
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #5
You have 145 Domain Controllers???
"Jerry Ham" <No*****@Somplace.net> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
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" <tr************@aol.com> wrote in message
news:20***************************@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


Nov 20 '05 #6
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.TestDataProp.PtrDataProp.Length - 1
elements(idx) = New ListViewItem
theFile.TestDataProp.
PtrDataProp(idx).DataProp)
Next
theFile.form.DrawGrid(elements,
theFile.form.ListViewDataProp())

Public Sub DrawGrid(ByRef ele() As ListViewItem, ByRef
grid As ListView)
grid.Items.AddRange(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
-----Original Message-----
Let see some code for populating the Listview.

Or Maybe you want to put a BeginEdit before you start adding items and anEndEdit when your done that will help speed it up a little.
"TryingLikeHeck" <tr************@aol.com> wrote in messagenews:20***************************@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

.

Nov 20 '05 #7
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" <no****@blowgoats.com> wrote in message
news:vt************@corp.supernews.com...
You have 145 Domain Controllers???
"Jerry Ham" <No*****@Somplace.net> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
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" <tr************@aol.com> wrote in message
news:20***************************@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



Nov 20 '05 #8
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" <tr************@aol.com> wrote in message
news:20***************************@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

Nov 20 '05 #9
Cor
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

Nov 20 '05 #10
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*****@Somplace.net> wrote in message
news:e5**************@TK2MSFTNGP12.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 with less
than 100 users logon over the WAN.

Jerry

"CJ Taylor" <no****@blowgoats.com> wrote in message
news:vt************@corp.supernews.com...
You have 145 Domain Controllers???
"Jerry Ham" <No*****@Somplace.net> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
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" <tr************@aol.com> wrote in message
news:20***************************@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
>
>



Nov 20 '05 #11
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" <no*@non.com> wrote in message
news:eN****************@tk2msftngp13.phx.gbl...
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

Nov 20 '05 #12
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" <no****@blowgoats.com> wrote in message
news:vt************@corp.supernews.com...
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*****@Somplace.net> wrote in message
news:e5**************@TK2MSFTNGP12.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 with less
than 100 users logon over the WAN.

Jerry

"CJ Taylor" <no****@blowgoats.com> wrote in message
news:vt************@corp.supernews.com...
You have 145 Domain Controllers???
"Jerry Ham" <No*****@Somplace.net> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
> 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" <tr************@aol.com> wrote in message
> news:20***************************@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
> >
> >
>
>



Nov 20 '05 #13
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*****@Somplace.net> wrote in message
news:Ol**************@TK2MSFTNGP12.phx.gbl...
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" <no****@blowgoats.com> wrote in message
news:vt************@corp.supernews.com...
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*****@Somplace.net> wrote in message
news:e5**************@TK2MSFTNGP12.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 with less than 100 users logon over the WAN.

Jerry

"CJ Taylor" <no****@blowgoats.com> wrote in message
news:vt************@corp.supernews.com...
> You have 145 Domain Controllers???
>
>
> "Jerry Ham" <No*****@Somplace.net> wrote in message
> news:%2****************@tk2msftngp13.phx.gbl...
> > 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" <tr************@aol.com> wrote in message
> > news:20***************************@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
> > >
> > >
> >
> >
>
>



Nov 20 '05 #14
Its an oil company - ChevronTexaco

Jerry

"CJ Taylor" <no****@blowgoats.com> wrote in message
news:vt************@corp.supernews.com...
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*****@Somplace.net> wrote in message
news:Ol**************@TK2MSFTNGP12.phx.gbl...
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" <no****@blowgoats.com> wrote in message
news:vt************@corp.supernews.com...
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*****@Somplace.net> wrote in message
news:e5**************@TK2MSFTNGP12.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 with
less
> than 100 users logon over the WAN.
>
> Jerry
>
> "CJ Taylor" <no****@blowgoats.com> wrote in message
> news:vt************@corp.supernews.com...
> > You have 145 Domain Controllers???
> >
> >
> > "Jerry Ham" <No*****@Somplace.net> wrote in message
> > news:%2****************@tk2msftngp13.phx.gbl...
> > > 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" <tr************@aol.com> wrote in message
> > > news:20***************************@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
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Nov 20 '05 #15
Ahhh now that just sounds fun. =)
"Jerry Ham" <No*****@Somplace.net> wrote in message
news:e0**************@tk2msftngp13.phx.gbl...
Its an oil company - ChevronTexaco

Jerry

"CJ Taylor" <no****@blowgoats.com> wrote in message
news:vt************@corp.supernews.com...
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*****@Somplace.net> wrote in message
news:Ol**************@TK2MSFTNGP12.phx.gbl...
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" <no****@blowgoats.com> wrote in message
news:vt************@corp.supernews.com...
> 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*****@Somplace.net> wrote in message
> news:e5**************@TK2MSFTNGP12.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 with less
> > than 100 users logon over the WAN.
> >
> > Jerry
> >
> > "CJ Taylor" <no****@blowgoats.com> wrote in message
> > news:vt************@corp.supernews.com...
> > > You have 145 Domain Controllers???
> > >
> > >
> > > "Jerry Ham" <No*****@Somplace.net> wrote in message
> > > news:%2****************@tk2msftngp13.phx.gbl...
> > > > 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" <tr************@aol.com> wrote in message
> > > > news:20***************************@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
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Nov 20 '05 #16
I'll look at ArrayList. This is a converted VB6 program
Thanks

"Cor" <no*@non.com> wrote in message
news:eN****************@tk2msftngp13.phx.gbl...
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

Nov 20 '05 #17
I'll look at that too. The listbox is only being read and the display is a
PictureBox.
Nothing shows up on the display until all at once the entire display
appears.

Thanks

"CJ Taylor" <no****@blowgoats.com> wrote in message
news:vt************@corp.supernews.com...
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" <no*@non.com> wrote in message
news:eN****************@tk2msftngp13.phx.gbl...
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


Nov 20 '05 #18
" active" <ac****@REMOVEa-znet.com> schrieb
I'll look at ArrayList. This is a converted VB6 program
Thanks


You are using the ActiveX Listview, not the .NET Framework listview?? This
can explain a lot! Interop can sloooooow down things considerably - apart
from the fact CJ mentioned that one should work with the the datasource not
the UI.

(BTW, did you start the thread? Are you TryingLikeHeck? I'm unsure...)

--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #19

"Armin Zingler" <az*******@freenet.de> wrote in message
news:eP*************@TK2MSFTNGP11.phx.gbl...
" active" <ac****@REMOVEa-znet.com> schrieb
I'll look at ArrayList. This is a converted VB6 program
Thanks
You are using the ActiveX Listview, not the .NET Framework listview?? This
can explain a lot! Interop can sloooooow down things considerably - apart
from the fact CJ mentioned that one should work with the the datasource

not the UI.
The Properties list shows System.Windows.Forms.ListView
I think that means I'm using the >NET version. Right?
I don't actually remember deleting the old one and replacing it (I did so
much of that kind or thing.)
What made (makes?) you think I'm using the ActiveX version?


(BTW, did you start the thread? Are you TryingLikeHeck? I'm unsure...) What does BTW stand for?
Yes. I have two ISP's
If I'm always online it's because I've converted a large app and as soon as
I clear up one problem I move on to another. And I've received wonderful
insight from this group. For example, the fact that just because single
stepping in the IDE highlights a statement does mean it actually got
executed. That's something it would take a long time to surmise. -
Numerous other things, like no use looking for a way to make the IDE
automatically compile only modules that have been changed since the last
compile. I was sure I only had to find the correct switch. Very helpful to
be told to stop looking. Anyway, I really appreciate the help and I am
trying.

I suggestion about ArrayList made me try dimensioning the arrays large
enough so that redim is never required, but that didn't help. There are
other thing going that may be using the time but I wanted to be sure
ListViews were not known to be time consumming.

Thanks for all the NG's past help and in particular your past help,
Cal

--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #20
" active" <ac****@REMOVEa-znet.com> schrieb

"Armin Zingler" <az*******@freenet.de> wrote in message
news:eP*************@TK2MSFTNGP11.phx.gbl...
" active" <ac****@REMOVEa-znet.com> schrieb
I'll look at ArrayList. This is a converted VB6 program
Thanks
You are using the ActiveX Listview, not the .NET Framework
listview?? This can explain a lot! Interop can sloooooow down
things considerably - apart from the fact CJ mentioned that one
should work with the the datasource

not
the UI.


The Properties list shows System.Windows.Forms.ListView
I think that means I'm using the >NET version. Right?


Right.
I don't actually remember deleting the old one and replacing it (I
did so much of that kind or thing.)
What made (makes?) you think I'm using the ActiveX version?


When you upgrade a VB6 app, the ActiveX listview is not replaced by the
managed Winforms version.
(BTW, did you start the thread? Are you TryingLikeHeck? I'm
unsure...)

What does BTW stand for?


by the way
--
Armin

Nov 20 '05 #21
> > What does BTW stand for?

by the way

One more mystery cleared up

Cal
Nov 20 '05 #22

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: zapazap | last post by:
-- Pythonic control of Windows GUI application: tabs and listviews Dear Snake-charming Gurus, I have learned to manipulate some controls ("Button", "ComboBox", etc) through such means as: ...
3
by: active | last post by:
DoubleClick seems to work OK with a ListBox. However, with a ListView I never get the event fired. I looked at both the LIstBox and ListView events and neither lists the DoubleClick??? But...
2
by: StriderBob | last post by:
In a list box, lbox1.SetSelected(0, True) or lbox1.SelectedIndex = 0 all work fine but how do you set the selected line in a ListView, is it possible? The ListView is being used in Details-View...
4
by: Waqas101 | last post by:
Hi, I have a question regarding the creation of multiple listviews during run-time. I currently have code that uses a loop to create 5 listviews with identical properties (excep for the name)....
3
by: fanny.ricour | last post by:
Hi, I have 2 ListViews, one above the other, and I need to keep them horizontally synchronised. I managed to hide the bottom LV scrollbar (user is not supposed to scroll it) and to scroll it...
3
by: Michael.Suarez | last post by:
I have 1 contextmenu with several buttons. two different listviews sit beside each other on the same form. Both use the same context menu. I have a method for when a menu item gets clicked: ...
2
by: moondaddy | last post by:
Below is some xaml that is a mockup of a control I'm building. It's a shape that will be used in a diagramming tool. The red, blue and green rectangles simulate connectors on the side of the...
4
by: =?Utf-8?B?anV2aQ==?= | last post by:
Hello, I have successfully used the sample provided in msdn for creating darg&drop between 2 listviews. Is this possible for more than 2 listviews? I have listview A,B and C and I want to do...
0
by: Carl Malden | last post by:
I need to build a WPF application that will display two listviews. One will be the current Fields list, the other will be the destination. The problem I have is I need to be able to allow users...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.