>>I used a killit program in Foxpro 2.6 dos and windows to get the users
>>out of the system when I put a specific file out. Does anyone know if this exist for Visual Foxpro. Or if the killit program that worked for Foxpro 2.6 will work for Visual Foxpro.
>>
>
>Doubtful that FLL would work in windows, but this is easy enough to implement in VFP. I have an non-modal, application form that is always visible to my users in the middle of the screen. It is similar to a splash for, is not movable or closable. Nor does it have any title bar. It just has the app name, a logo and the current time and date displayed. There is also a timer firing every 30 seconds that updates the time. I could also have the timer check for a particular field value in a shared app table or the existence of a particular file. If any existed, I could display a messagebox alerting the user to exit or risk having the app shutdown automatically for them [do not use the actual MESSAGEBOX function because you need to timeout the message form in case the user has left the building]. Automatic shutdown [for me] would just be a matter of issuing a CLEAR EVENTS then calling my oApp.App_Shutdown method.
Mark,
How do I close a modal form using this example.
Thanks
Jeff
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only