Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Send signals to each user using same system
Message
 
 
To
20/02/2008 08:10:09
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
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:
01294225
Views:
26
>>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.

I found it a bit tricky to close the application when you have a Report Preview window opened. I think I was able to solve it, though.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform