Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Play a Sound on Form LostFocus()
Message
From
08/10/2007 17:12:29
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
08/10/2007 16:50:27
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows Server 2003
Miscellaneous
Thread ID:
01259579
Message ID:
01259586
Views:
19
>I've got a simple VFP6 SP5 app with a modal form. It will be used by high school students to key in certain information about themselves.
>
>At the moment there is no provision to prevent the user from hitting Ctrl-Alt-Del, Alt-Tabbing to another app etc. The thinking at this point is not to prevent these events, but if they happen, to play a sound that would alert staff in the same room that a student was "fooling around" or trying something unauthorized.
>
>Does anyone know how a VFP app can reliably play a sound (.WAV would be fine) in the event of such a loss of focus of the app?
>
>I realize that the "proper" way to approach this is probably via Group Policy/Kiosk mode in Windows itself but for various reasons I'd like to avoid that.
>
>UPDATE: if VFP9 would offer more possibilities that is an option.

Check message #1231189 - it's an event handler for those cases. Though, it may require VFP9, not sure whether event handlers were even remotely possible in VFP6.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform