Hello,
I have written an application in Visual Basic 6.0 Professional SP5 that
reads data from an Excel workbook by using ADO. When I close the
application, I get the error:
'The instruction at "0x01b302bd " referenced memory at "0xb52ad202 ". The
memory could not be "written"'
- this only happens with the compiled exe (both P-code and native code), but
not when I run the application in Visual Basic without compiling
- this only happens if the application has read data from the Excel workbook
- this happens with Windows 98se, Windows NT 4 and Windows XP
I'm using the MS ActiveX Data Object 2.7 Library.
Does someone has a clue what might cause the error?
Thanks in advance,
Geert-Pieter
I have written an application in Visual Basic 6.0 Professional SP5 that
reads data from an Excel workbook by using ADO. When I close the
application, I get the error:
'The instruction at "0x01b302bd " referenced memory at "0xb52ad202 ". The
memory could not be "written"'
- this only happens with the compiled exe (both P-code and native code), but
not when I run the application in Visual Basic without compiling
- this only happens if the application has read data from the Excel workbook
- this happens with Windows 98se, Windows NT 4 and Windows XP
I'm using the MS ActiveX Data Object 2.7 Library.
Does someone has a clue what might cause the error?
Thanks in advance,
Geert-Pieter
Comment