Click to See Complete Forum and Search --> : apllication error
carolineon
September 4th, 2001, 09:18 PM
Can i know what's the cause for this error which read :
Application Error :
The instruction of "0x77f6750b" referenced memory of "0x08de1e18". The memory could not be read.
Click OK to terminate the application.
Thank you.
berta
September 5th, 2001, 01:52 AM
do u have errors also debugging?
<center>
<HR width=80%>
<img src='http://web.tiscali.it/bertaplanet/images/bertaplanet.gif'>
</center>
carolineon
September 5th, 2001, 03:24 AM
sorry, berta, i don't get what do u mean.
Actually it's not during compiling that this error occured. The error appeared when i close the VB application after running my program.
can someone out there please help me...thank you!!
berta
September 5th, 2001, 03:42 AM
do u use some activex control? what kind?
do u use the statment END to close program?
<center>
<HR width=80%>
<img src='http://web.tiscali.it/bertaplanet/images/bertaplanet.gif'>
</center>
carolineon
September 5th, 2001, 03:44 AM
yup, i had closed the database that i had open earlier.
berta
September 5th, 2001, 03:46 AM
witch kind of DB? can U post here the code?
<center>
<HR width=80%>
<img src='http://web.tiscali.it/bertaplanet/images/bertaplanet.gif'>
</center>
carolineon
September 5th, 2001, 03:51 AM
i used MS Access database.
but the problem is the error still occurs although i didn't open the database. i mean i just run the GUI and then click the close button. then when i close VB, the error occured.
berta
September 5th, 2001, 03:53 AM
1) u can test if db is iopen before close it
2) u can use "on error"
<center>
<HR width=80%>
<img src='http://web.tiscali.it/bertaplanet/images/bertaplanet.gif'>
</center>
John G Duffy
September 5th, 2001, 01:22 PM
How does your program terminate?
DO NOT USE THE END statement to terminate your program. It leaves all sorts of nasties around.
When closing your program, make sure you have freed all memory allocations you have performed, if any, Set all Objects you created to nothing then close all forms using the following loop in your terminating form.
private Sub Form_Unload(Cancel as Integer)
Dim f as Form
for Each f In Forms
If f.Name <> me.Name then Unload f
next f
End Sub
John G
carolineon
September 10th, 2001, 03:20 AM
The error only occurs if it's opened a recordset ( used to display data ) from a database. If I open the GUI and then close it immediately without any process of opening a recordset, the error WILL NOT occur.
Please help. Thank You.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.