Deleting ListView items crashes VB6Sp3 ?


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 5 of 5

Thread: Deleting ListView items crashes VB6Sp3 ?

  1. #1
    dotScience Guest

    Deleting ListView items crashes VB6Sp3 ?

    < summary : deletion of listitems in listviews with large number of
    listitems seems to crash vb6sp3 >

    I've used Randy Birch's excellent file and directory recursive finding api
    examples to construct a medium complex kind of techy file viewer and
    duplicate finder.

    <
    Randy Birch's great site :

    http://www.mvps.org/vbnet/

    Look in the Code Library under File API for : "Performing Recursive
    Searches Using FindFirst and SearchTreeForFile"
    >



    I found that using ListViews rather than ListBoxes let me get around the
    32768 item limit for lists.

    But I came across an interesting side-effect of deleting items from a
    ListView; it seems to crash VB in unpredictable ways independently of how
    many items are left in the list to delete. Although it seems to happen more
    often with ListViews with very many (> 10,000) listitems.

    I've tried carefully setting listitem pointers to nothing after the item
    they pointed to is deleted, but that doesn't seem to help.

    Since I am now developing on a new system with an Asus P3V4X motherboard and
    have so many other problems with stability in Win98 SE with this board and
    coppermine chip, it's hard to tease out what's VB and what's not.

    Appreciate any advice.

    best, Bill



  2. #2
    Damit Senanayake Guest

    Re: Deleting ListView items crashes VB6Sp3 ?

    Hi Bill,

    [...]

    : But I came across an interesting side-effect of deleting items from a
    : ListView; it seems to crash VB in unpredictable ways independently of how
    : many items are left in the list to delete. Although it seems to happen
    more
    : often with ListViews with very many (> 10,000) listitems.

    Well, I've had no problems when deleting items from a ListView with over
    50,000 items (in case you're interested, this was for a benchmark).

    : Since I am now developing on a new system with an Asus P3V4X motherboard
    and
    : have so many other problems with stability in Win98 SE with this board and
    : coppermine chip, it's hard to tease out what's VB and what's not.

    Given the fact that you have other problems, I'd be inclined to suspect your
    hardware. Do you have a faulty DIMM/RDRAM or overheating problems, among
    other things? Are you overclocking?

    --
    Damit Senanayake | damit@mvps.org | http://members.xoom.com/damit
    Please reply to newsgroups, not by e-mail. | ICQ: 6930718



  3. #3
    Damit Senanayake Guest

    Re: Deleting ListView items crashes VB6Sp3 ?

    Hi Bill,

    [...]

    : But I came across an interesting side-effect of deleting items from a
    : ListView; it seems to crash VB in unpredictable ways independently of how
    : many items are left in the list to delete. Although it seems to happen
    more
    : often with ListViews with very many (> 10,000) listitems.

    Well, I've had no problems when deleting items from a ListView with over
    50,000 items (in case you're interested, this was for a benchmark).

    : Since I am now developing on a new system with an Asus P3V4X motherboard
    and
    : have so many other problems with stability in Win98 SE with this board and
    : coppermine chip, it's hard to tease out what's VB and what's not.

    Given the fact that you have other problems, I'd be inclined to suspect your
    hardware. Do you have a faulty DIMM/RDRAM or overheating problems, among
    other things? Are you overclocking?

    --
    Damit Senanayake | damit@mvps.org | http://members.xoom.com/damit
    Please reply to newsgroups, not by e-mail. | ICQ: 6930718



  4. #4
    dotScience Guest

    Re: Deleting ListView items crashes VB6Sp3 ?

    Thanks for your concern, Damit. No, I'm not overclocking, have followed all
    the strange prescriptions in alt.comp.periphs.mainboard.asus. And I have
    re-installed VB and redone SP3, etc. Knowing you are able to do this without
    error is very helpful.

    very best, Bill Woodruff

    ----- Original Message -----
    From: "Damit Senanayake" <damit@mvps.org>
    Newsgroups: vb.api
    Sent: Wednesday, June 21, 2000 8:13 AM
    Subject: Re: Deleting ListView items crashes VB6Sp3 ?


    > Hi Bill,
    >
    > [...]
    >
    > : But I came across an interesting side-effect of deleting items from a
    > : ListView; it seems to crash VB in unpredictable ways independently of

    how
    > : many items are left in the list to delete. Although it seems to happen
    > more
    > : often with ListViews with very many (> 10,000) listitems.
    >
    > Well, I've had no problems when deleting items from a ListView with over
    > 50,000 items (in case you're interested, this was for a benchmark).
    >
    > : Since I am now developing on a new system with an Asus P3V4X motherboard
    > and
    > : have so many other problems with stability in Win98 SE with this board

    and
    > : coppermine chip, it's hard to tease out what's VB and what's not.
    >
    > Given the fact that you have other problems, I'd be inclined to suspect

    your
    > hardware. Do you have a faulty DIMM/RDRAM or overheating problems, among
    > other things? Are you overclocking?
    >
    > --
    > Damit Senanayake | damit@mvps.org | http://members.xoom.com/damit
    > Please reply to newsgroups, not by e-mail. | ICQ: 6930718
    >
    >

    "Damit Senanayake" <damit@mvps.org> wrote in message
    news:3950daba@news.devx.com...
    > Hi Bill,
    >
    > [...]
    >
    > : But I came across an interesting side-effect of deleting items from a
    > : ListView; it seems to crash VB in unpredictable ways independently of

    how
    > : many items are left in the list to delete. Although it seems to happen
    > more
    > : often with ListViews with very many (> 10,000) listitems.
    >
    > Well, I've had no problems when deleting items from a ListView with over
    > 50,000 items (in case you're interested, this was for a benchmark).
    >
    > : Since I am now developing on a new system with an Asus P3V4X motherboard
    > and
    > : have so many other problems with stability in Win98 SE with this board

    and
    > : coppermine chip, it's hard to tease out what's VB and what's not.
    >
    > Given the fact that you have other problems, I'd be inclined to suspect

    your
    > hardware. Do you have a faulty DIMM/RDRAM or overheating problems, among
    > other things? Are you overclocking?
    >
    > --
    > Damit Senanayake | damit@mvps.org | http://members.xoom.com/damit
    > Please reply to newsgroups, not by e-mail. | ICQ: 6930718
    >
    >




  5. #5
    dotScience Guest

    Re: Deleting ListView items crashes VB6Sp3 ?

    Thanks for your concern, Damit. No, I'm not overclocking, have followed all
    the strange prescriptions in alt.comp.periphs.mainboard.asus. And I have
    re-installed VB and redone SP3, etc. Knowing you are able to do this without
    error is very helpful.

    very best, Bill Woodruff

    ----- Original Message -----
    From: "Damit Senanayake" <damit@mvps.org>
    Newsgroups: vb.api
    Sent: Wednesday, June 21, 2000 8:13 AM
    Subject: Re: Deleting ListView items crashes VB6Sp3 ?


    > Hi Bill,
    >
    > [...]
    >
    > : But I came across an interesting side-effect of deleting items from a
    > : ListView; it seems to crash VB in unpredictable ways independently of

    how
    > : many items are left in the list to delete. Although it seems to happen
    > more
    > : often with ListViews with very many (> 10,000) listitems.
    >
    > Well, I've had no problems when deleting items from a ListView with over
    > 50,000 items (in case you're interested, this was for a benchmark).
    >
    > : Since I am now developing on a new system with an Asus P3V4X motherboard
    > and
    > : have so many other problems with stability in Win98 SE with this board

    and
    > : coppermine chip, it's hard to tease out what's VB and what's not.
    >
    > Given the fact that you have other problems, I'd be inclined to suspect

    your
    > hardware. Do you have a faulty DIMM/RDRAM or overheating problems, among
    > other things? Are you overclocking?
    >
    > --
    > Damit Senanayake | damit@mvps.org | http://members.xoom.com/damit
    > Please reply to newsgroups, not by e-mail. | ICQ: 6930718
    >
    >

    "Damit Senanayake" <damit@mvps.org> wrote in message
    news:3950daba@news.devx.com...
    > Hi Bill,
    >
    > [...]
    >
    > : But I came across an interesting side-effect of deleting items from a
    > : ListView; it seems to crash VB in unpredictable ways independently of

    how
    > : many items are left in the list to delete. Although it seems to happen
    > more
    > : often with ListViews with very many (> 10,000) listitems.
    >
    > Well, I've had no problems when deleting items from a ListView with over
    > 50,000 items (in case you're interested, this was for a benchmark).
    >
    > : Since I am now developing on a new system with an Asus P3V4X motherboard
    > and
    > : have so many other problems with stability in Win98 SE with this board

    and
    > : coppermine chip, it's hard to tease out what's VB and what's not.
    >
    > Given the fact that you have other problems, I'd be inclined to suspect

    your
    > hardware. Do you have a faulty DIMM/RDRAM or overheating problems, among
    > other things? Are you overclocking?
    >
    > --
    > Damit Senanayake | damit@mvps.org | http://members.xoom.com/damit
    > Please reply to newsgroups, not by e-mail. | ICQ: 6930718
    >
    >




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center