473,508 Members | 2,202 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Application Error on Exit

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?
Nov 20 '05 #1
3 3073
Hello,

"Elysee" <re**********@fuckSpam.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
Nov 20 '05 #2

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

Nov 20 '05 #3
Hello,

"Elysee" <re**********@fuckSpam.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
Nov 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
8487
by: Guinness Mann | last post by:
Pardon me if this is not the optimum newsgroup for this post, but it's the only .NET newsgroup I read and I'm certain someone here can help me. I have a C# program that checks for an error...
4
11145
by: Chuck | last post by:
Hello everybody, I need to abort execution during start up, while the constructor called by Application.Run is executing. If the database fails to connect during my application's startup I...
4
3621
by: Alpha | last post by:
I have a window Application. this.close(); doesn't stop and close my application when I get an error. Instead it continues trying to execute the following codes. What code do I need to the...
4
10840
by: Bob Day | last post by:
Using VS 2003, VB.net... I am confused about the Application.Exit method, where the help states "This method does not force the application to exit." Aside from the naming confusion, how do I...
3
2906
by: Lumpierbritches | last post by:
I have an application my partner wrote that would allow an autoresponse to any Mapi compliant email that apparently in .Net won't, can someone assist me with fixing this? Here is the code: ...
3
1515
by: Mike Johnson | last post by:
I have the following code in form1 and when the application starts this sub is called to check for a path if not found a message box is displayed and then gives the user an option to end the...
2
1336
by: Mike Johnson | last post by:
The sub is being called from the Sub New(). If I can't use Application.Exit() in this situation then how do I exit the application? please help. Public Sub Check_For_Dir() Dim MyPath, MyName As...
12
5828
by: JohnR | last post by:
I have narrowed a problem down to a simple example. A form with two buttons. One EXIT and one FBD. The exit button does an "END" to end the application. The FBD button does a...
0
1309
by: dmacq | last post by:
I am getting myOdbc error 518 Sqlstate- HY001 Invalid application buffer type when I try to retrieve all table names. I am using version mysql Ver 14.12 Distrib 5.0.19, for Win32 (ia32) with Odbc...
7
4295
by: Jay | last post by:
In my C# code, I'm attempting to display a message box then quit the win form application I'm writing if a certain type of error occurs when the application starts up. In the main form's...
0
7227
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7127
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7331
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7054
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7501
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5056
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3204
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1564
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
424
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.