Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing an application
Message
De
29/08/2011 14:14:00
John Baird
Coatesville, Pennsylvanie, États-Unis
 
 
À
29/08/2011 13:51:37
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01522144
Message ID:
01522145
Vues:
55
>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..
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform