Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SHUT THAT PROGRAM DOWN.... Please!!
Message
 
To
20/12/2006 18:18:16
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01179349
Message ID:
01179518
Views:
10
>>Hello gang!!!
>>
>>Have you had any success using a SHUTDOWN type of program to kick your users out, so you can go in and do maintenance on the data.... then let them back in.
>>
>>I looked at Ramani's ((Subramanian.G) FoxAcc Software / Winners Software) software to see if that would work... and probable will.
>>
>>
>>The only problem is......... when you make the call to shutdown the program, how hard is it to override your code and shutdown the app unconditionally???? (In case they are away from the PC.... bathroom break... cig. break... etc.... )
>>
>>Thanks!!
>
>My application checks every 2 minutes whether there is a file called "maintenance.tmp" in the working directory (the shared directory on the file server). If there is, it will invoke method OnQuit() of the application object - part of the framework. Problem is, if there are pending changes, OnQuit() will ask the user whether he wants to save - but this method has worked more often than not, for me.

Thanks!!
Tommy Tillman A+ NetWork+ MCP
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform