Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Power off in the server
Message
 
 
To
23/07/1998 10:19:34
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00120438
Message ID:
00120465
Views:
20
>Sometimes the server power gets off, and the only way to quit Visual Fox Pro is CTRL+ALT+DEL. I tried to trap the error 'reading files' and 'writing files' with this statement:
>do case
> case error_=1105 .or. error_=1104
> quit
>.......
>I cannot really quit: the program fires the error routine but keeps to ask for the files.
>Can somebody help me?
>Thanx in advance

The problem with any normal shutdown of VFP is that VFP wants to close the tables and all other open files before quitting. Maybe someone will have a solution on using the Windows API to terminate an application. I am sure there is one because you can do this to any app that is not responding in Win95.
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform