PC Review


Reply
Thread Tools Rate Thread

Application Error on Exit

 
 
Elysee
Guest
Posts: n/a
 
      2nd Sep 2003
Something, my application generate error when user close it . error like
"Memory on ....could not be read.click to close the application"

I have a code on form_closing to verify if user save everything. the code is
correct.

How to solve this problem?


 
Reply With Quote
 
 
 
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      3rd Sep 2003
Hello,

"Elysee" <replyToGroup@****Spam.Sorry> schrieb:
> Something, my application generate error when user
> close it . error like "Memory on ....could not be read.
> click to close the application"
>
> I have a code on form_closing to verify if user save
> everything. the code is correct.


That's a really bad "unmanaged" error.

Does that occur on a single machine only? OS version? Version of .NET used
by the application? Are you using PInvoke calls or COM components/ActiveX?
Does the error even occur if you remove the code from the 'Closing' event
handler?

Regards,
Herfried K. Wagner
--
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet


 
Reply With Quote
 
Elysee
Guest
Posts: n/a
 
      3rd Sep 2003

Hello
The error Occur ,not always but something in all PC
the application used .NET 1.1
i am using one control of visual basic 6, ListBar.ocx


-i will try to remove the code from closing event and let you know

> That's a really bad "unmanaged" error.
>
> Does that occur on a single machine only? OS version? Version of .NET

used
> by the application? Are you using PInvoke calls or COM

components/ActiveX?
> Does the error even occur if you remove the code from the 'Closing' event
> handler?
>
> Regards,
> Herfried K. Wagner
> --
> MVP · VB Classic, VB.NET
> http://www.mvps.org/dotnet



 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      3rd Sep 2003
Hello,

"Elysee" <replyToGroup@****Spam.Sorry> schrieb:
> The error Occur ,not always but something in all PC
> the application used .NET 1.1
> i am using one control of visual basic 6, ListBar.ocx
>
> -i will try to remove the code from closing event and let you know


If that doesn't help, try to get rid of the "ListBar.ocx".

Regards,
Herfried K. Wagner
--
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook.exe application error on exit t_jeffus Microsoft Outlook Discussion 0 24th Aug 2008 07:52 PM
How to Exit an application properly on Error Rob Microsoft VB .NET 8 14th Jan 2006 08:54 PM
Outlook Express Application Error at Exit =?Utf-8?B?UGVhY2V3b3Jrcw==?= Windows XP New Users 5 23rd Apr 2005 04:59 AM
application.exit, application.exitthread exit application problem =?Utf-8?B?TWlrZSBTaWx2ZXI=?= Microsoft Dot NET Framework Forms 2 24th Nov 2004 03:14 AM
Application.exit() vs Environment.exit(-1) vs Application.exitthread() Brendan Miller Microsoft C# .NET 1 5th Feb 2004 08:13 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:26 PM.