Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing an application
Message
De
29/08/2011 14:21:34
 
 
À
29/08/2011 14:14:00
John Baird
Coatesville, Pennsylvanie, États-Unis
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:
01522146
Vues:
48
>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..

I am not sure I understand the first part. When it is time to close the app, I call the Close() method. There is only one app. It relies on a flag from the database to know if it has to close or not. This is a robot. It loops every minute and checks for that in the first place. If it has to be close, then Close() is called.

This is in reference to thread #1514219.

The only enhancement I could think of at this point would be to move up the Close() at the higher level, diminishing the risk that calling it several methods down below could have an impact.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform