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.
Printable View
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.
do u have errors also debugging?
<center>
<HR width=80%>
<img src='http://web.tiscali.it/bertaplanet/im...ertaplanet.gif'>
</center>
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!!
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/im...ertaplanet.gif'>
</center>
yup, i had closed the database that i had open earlier.
witch kind of DB? can U post here the code?
<center>
<HR width=80%>
<img src='http://web.tiscali.it/bertaplanet/im...ertaplanet.gif'>
</center>
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.
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/im...ertaplanet.gif'>
</center>
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
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.