I posted the other day that the Incremental Search box that I had been using
was no longer working properly. When I checked the code against an older
version that was working properly, the changes to the code from the old
(good) to the new (bad) version were minor and seemed unlikely to be the
cause of a problem. I then changed them one-at-a-time back to the old
version. Finally, the code blocks seemed identical. Just to be sure, I
copied all of the code from the good form to the bad form and the bad form
still did not work.
But then I copied the ListBox control itself from the good form to the bad
form and then the bad form suddenly worked fine. IOW, I had a corrupted
control.
Q: Is there a better way to test for a corrupted control than to pound
your head against a wall for a few days, some testing procedure, some
checksum value, anything?
Q: Even though things are working now, is it likely that the form itself is
corrupted and that the control will become unstable again?
Q: What, if anything, should I do now?
Thanks
CA
was no longer working properly. When I checked the code against an older
version that was working properly, the changes to the code from the old
(good) to the new (bad) version were minor and seemed unlikely to be the
cause of a problem. I then changed them one-at-a-time back to the old
version. Finally, the code blocks seemed identical. Just to be sure, I
copied all of the code from the good form to the bad form and the bad form
still did not work.
But then I copied the ListBox control itself from the good form to the bad
form and then the bad form suddenly worked fine. IOW, I had a corrupted
control.
Q: Is there a better way to test for a corrupted control than to pound
your head against a wall for a few days, some testing procedure, some
checksum value, anything?
Q: Even though things are working now, is it likely that the form itself is
corrupted and that the control will become unstable again?
Q: What, if anything, should I do now?
Thanks
CA
Comment