using vb6, it's the default command button on the form is sometimes being set and othertimes it won't set.