> > I have code which runs fine in RB2006r1 but crashes in RB2007r1, and > > RB2007r2a2 (beta). I tracked it down to this line : > > > > listbox1.DeleteAllRows > > I use listboxes extensively in almost all my projects, and have never > seen an application crash simply by calling DeleteAllRows. There must > be something else going on. Are you using a subclass of listbox that > might be causing the problem? Is there something else in your > application that relies on the state of the listbox? >
Hi Dennis No, I am not doing anything too fancy. And I have not changed this part of the code in more than a year. However, in 12 attempts, I got the debugger runtime to crash 12 times at this line, and when I comment it out, it doesn't crash. And as I mentioned, its something new about the compiler from 2006R1 to 2007R1. I am thinking it might have something to do with the paint-like events dealing with an empty box. Greg ************************************** AOL now offers free email to everyone. Find out more about what's free from AOL at http://www.aol.com. _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
