If you use the PCC to enter 0 does it store the correct value? If so, then the problem is within the
VB application. It's not a lot, but might help narrow down the problem.
Also, have you tried the SP4 HotFIxes? If those don't work, as a test you might try V8. Pervasive won't fix SP4 because it's in transition support.