Re: ListView and DisplayIndex



Yes. The number of items in the list is 500 when I get the count. However,
the max index is 499 since it is 0-based. This has been tested and is
accurate. The problem still remains

Ken

"Armin Zingler" <az.nospam@xxxxxxxxxx> wrote in message
news:eFoNDziWFHA.3996@xxxxxxxxxxxxxxxxxxxxxxx
> "Ken" <ks3ss@xxxxxxxxxxx> schrieb
> >I am adding items to a listview and I get an exception that seems to
> > be
> > random.
> >
> > "500 is not a valid value for displayindex"
> >
> > I have searched the web looking for others with this problem and have
> > found a few. The problem is: I've found no real explanation/solution
> > to the problem - yet.
> >
> > Someone has to know what this is - and how to handle it.
> >
> > Is it a bug in vb.net?
> > Can it be swatted?
>
> How many items are in the list? The index is 0-based. With 500 items, the
> maximum index is 499.
>
> Armin


.



Relevant Pages

  • Re: IsDate function is Vb.Net
    ... Smith ... > I don't see a bug. ... Prev by Date: ...
    (microsoft.public.dotnet.languages.vb)
  • Re: ListView and DisplayIndex
    ... I've found no real explanation/solution ... Is it a bug in vb.net? ... maximum index is 499. ... Armin ...
    (microsoft.public.dotnet.languages.vb)
  • [patch 2/2] x86 amd fix cmpxchg read acquire barrier
    ... There is no official AMD bug ID yet, but it seems to be reported in the field ... unsigned long prev; ... switch { ... LOCK_PREFIX " cmpxchgl %2,%0\n\t" ...
    (Linux-Kernel)
  • Re: IDE changes setting on its own
    ... Armin, ... This may be an artifact of something happening on your local machine or network, ... "bug" in VS. ... or other seemingly unrelated network or file system issues. ...
    (microsoft.public.vsnet.ide)
  • Re: TransparencyKey+Drawimage (2)
    ... Must be a different bug because disabling double ... drawimages makes problems, so I think it's an additional bug in DrawImage. ... > "Armin Zingler" wrote in message ... >> It's not a graphics card or driver problem because ...
    (microsoft.public.dotnet.framework.drawing)

Loading