View Single Post
  #3 (permalink)  
Old 01-05-2010, 09:00 PM
DieterR's Avatar
DieterR DieterR is offline
Junior Member
 
Join Date: Jun 2007
Location: Germany, 30 km south of Munich
Posts: 21
Default

Sorry agraham,

today, I spend some time to reproduce the crash, but I can't.
Now, in debug run or the compiler always the same error message as you have seen is reported:

"An error ocurred on sub_main_defaults"
~" -1 is invalid for Value, ...should be between 'Min..' and 'Max..' ..."

It is unbelievable! A few days ago the crash repeated any time after I had restarted the B4P IDE. But I didn't restart Windows (and .NET).

I solved the problem by moving the 2 lines in a sub that is executed when the panel containing 'num22' becomes visible and table4 is surely loaded (.RowCount > 0).

Thank You
DieterR
__________________
What would we do if computers don't waste our time ...
Reply With Quote