On Tue, Apr 2, 2013 at 9:37 AM, Ken Dibble <[email protected]> wrote:
>
>> But I guess what you're saying is that I have to expect errors even in
> these processes if the user doesn't follow instructions regarding how to
> shut down the system? There is nothing I can do to defend against that?
>
>
Well, there are several different questions and assumptions in your
questions.
You're saying it breaks if you do it that way, I'm saying don't do it that
way. The local workstation shouldn't have to copy all the bits from one
part of a remote machine to another. That's inefficient, slow, and
obviously error-prone.
The issue of other organizations running your software is a new twist, or I
missed it earlier. If you don't have access to their servers, you might not
be able to implement the service-side backup.
At the least, you should ask in your "Really Quit?" dialog with an option
"[X] Make a backup before shutting down" to give them the option.
But no, if Windows has decided to shutdown, I don't think you can count on
the network shares still being available. You can test for this, add local
TRY... CATCH wrappers around your code, perhaps an IF FILE("W:\MyData.DBF")
to figure out of the file is available, but in the end, you can't
idiot-proof an application both against users and Windows at the same time,
I think. It's just a question of how much effort you're willing to exert
when the users are doing things their way.
--
Ted Roche
Ted Roche & Associates, LLC
http://www.tedroche.com
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/CACW6n4uZBgEjCNy1Gzz7btUm1NfiQQHdKXFO=prkpbfgmcy...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.