
Forcing programs to be active all the time.
If it are NT of Windows2000 systems, you can make them BEEP very long
whenever someone uses the Alt-Tab Combination, because the SystemSpeaker
does this under windowsNT and 2000. But since you say the students access
internet without permission,
I think you mean win9x.
Beep also works under win9x but the default wave-file is used instead of the
SystemSpeaker, so this isn't very usefull.
You could also use the winsock control to send an alert to the teachers PC, but
then all PC's should be linked to that one.
I know this isn't very usefull info, but maybe it gives you an idea on that
alarm thing you asked for.
Quote:
> A buddy of mine is a high school Data Processing Teacher and has a problem
> with students accessing the internet while they should be using Word. I'm
> trying to develop a program that:
> #1 cycles through all of the open windows and makes Word the active window.
> or
> #2 launching Word from a VB program and making it the active program all the
> time so that they cannot jump from one window to another.
> Also, the students have the habit of using the ALT-Tab key from jumping
> around form window to window hiding their activities expecially when the
> teacher is walking around. Is there a way to capture that sequence of keys,
> then I could write a module that sounds an alarm or something to notify the
> teacher.
> Essentially I need to develop a program that is running continuously to
> check on student activity.
> If you have any suggestions or a better method of catching the students,
> I'd appreciate it.