Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Send signals to each user using same system
Message
From
20/02/2008 08:10:09
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
19/02/2008 12:21:00
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01293566
Message ID:
01294191
Views:
27
>The one problem with VFP timer is that it doesn't fire under all circumstances ...

Actually, our application sometimes fails to shut down for a different reason (I think). From the Timer, I invoke goProgram.OnQuit(), where goProgram is the global application object.

Now, this is the same as if the user presses Alt-F4. In other words, the application tries to do a "clean" shutdown; if there are pending changes, the user will see a dialog, asking to save. Now, if the user went for a coffee break...

I guess I might try a QUIT instead (force a shutdown, don't save changes), but I am no longer in charge of said application now.

Also, we don't always want to throw out some 30-40 users; so sometimes we just called the departments who regularly use a certain file.

In both cases, we also used a customized verion of the FAQ by Ramon Jaquez, to see who has a file open. Usually the file we wanted to REINDEX or something; or the executable if we wanted the users to close their application completely.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform