Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing an application
Message
From
29/08/2011 14:21:34
 
 
To
29/08/2011 14:14:00
John Baird
Coatesville, Pennsylvania, United States
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:
01522146
Views:
50
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform