|
-
September 4th, 2001, 09:18 PM
#1
apllication error
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.
-
September 5th, 2001, 01:52 AM
#2
Re: apllication error
do u have errors also debugging?
<center>
<HR width=80%>
<img src='http://web.tiscali.it/bertaplanet/im...ertaplanet.gif'>
</center>
-
September 5th, 2001, 03:24 AM
#3
Re: apllication error
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!!
-
September 5th, 2001, 03:42 AM
#4
Re: apllication error
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>
-
September 5th, 2001, 03:44 AM
#5
Re: apllication error
yup, i had closed the database that i had open earlier.
-
September 5th, 2001, 03:46 AM
#6
Re: apllication error
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>
-
September 5th, 2001, 03:51 AM
#7
Re: apllication error
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.
-
September 5th, 2001, 03:53 AM
#8
Re: apllication error
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>
-
September 5th, 2001, 01:22 PM
#9
Re: apllication error
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
-
September 10th, 2001, 03:20 AM
#10
Re: apllication error
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|