VB compiled exe causing error on win 98, but not on win2k or winxp
Posted on 2003-11-10
I'm developing my apps with VB 6.0 sp5 installed on win xp. I have create an exe file that runs fine on both winxp and win2k. However, when I try to execute that file on win 98 machine, there are errors. This error may vary between "EOF or BOF expected.." or "Error 13, Type mismatch". I've tried over and over again to do the same thing I was doing on the win98 machine to the application installed on win2k and winxp, but no error ever occured.
My applicaton have a combo box that lets user choose something and then query the database (which is MS SQL Server 2000 in this case) according to the selection on the combo box. The error occured when user was browsing through the combo box, and whether they select something (combo1_click event call) or just decided to click on the other part of the form (automatically closing the dropdown menu of the combo box) those error would occur. The EOF/BOF error only occured on some of the combo box when user select a value.
Why is this happening ? I have installed the following components on the win 98 machine :
vb 6.0 with vs 6.0 service pack run time files
microsoft data access components 2.7
Anything else I should install on the win 98 machine ? because this only happen on win 98 machine and not on win2k or winxp ?