|
-
Apr 3rd, 2006, 10:10 AM
#1
Thread Starter
Frenzied Member
[RESOLVED] memory cant be written ...
everything was working fine untill now and suddenly
when i exit my application it vanishes from the screen as usual but when i open my taskbar my app is still running .it never happened.
abt my app
first there is a login screen,when user authen... mdi form loads with a toolbar. i have the function to handle toolbar events in a module .which takes the button.text as argument.
for the exit button i do the following:
unload all child forms
close all open db connections
unload the mdimain(mdi form)
end
.i have been using this sequence of stmts right from the start of my proj.but from yesterday onwards this problem surfaced::the app exits giving an error "that memory referenced could not be written....",if i use the end stmt and
it stays in the taskbar,if i remove the end stmt.
but if the user logs out (i.e go to the first form)and clicks exit ,it exits normally(the first form is a simple non mdichild form ).
what is happening here ??
__________________
________________0îîî___
___îîî0________(___)____
__(___)_________) _/_____
___\_ (_________(_/______
____\_)_________________
-
Apr 3rd, 2006, 10:36 AM
#2
Re: memory cant be written ...
Have you tried stepping through your exit sub to ensure that all forms are unloaded?
Regards,
Mark
Please remember to rate posts! Rate any post you find helpful. Use the link to the left - "Rate this Post". Please use [highlight='vb'] your code goes in here [/highlight] tags when posting code. When a question you asked has been resolved, please go to the top of the original post and click "Thread Tools" then select "Mark Thread Resolved."
-
Apr 3rd, 2006, 10:38 AM
#3
Thread Starter
Frenzied Member
Re: memory cant be written ...
yes it does unload all forms ,as i said i never faced this problem before .all of a sudden it started .
__________________
________________0îîî___
___îîî0________(___)____
__(___)_________) _/_____
___\_ (_________(_/______
____\_)_________________
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
|