Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing an application
Message
From
29/08/2011 14:14:00
John Baird
Coatesville, Pennsylvania, United States
 
 
To
29/08/2011 13:51:37
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01522144
Message ID:
01522145
Views:
58
>If I have a desktop application and I need to close it, I call the Close() method. But, since two years, on occasional basis, when we call that method, this generates an unknown exception in memory. This is very difficult to troubleshoot as I haven't found yet the way to simulate that.
>
>However, I have been thinking about something. When I programatically send a message to the application so it will close itself, this is usually done three levels down the hierarchy of the program operations. Thus, it is one method calling another calling another. I have been wondering if calling Close() from three levels deep could have such an impact.
>
>Any comment?


I would create a Close Event and have the main app listen for that .... don't know if the calling hierarchy is causing a problem or not..
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform