Forcing programs to be active all the time. 
Author Message
 Forcing programs to be active all the time.

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.



Fri, 13 Sep 2002 03:00:00 GMT  
 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.



Fri, 13 Sep 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Active program: keeping the app active and checking time

2. How do i know the time a program is active, started with shell in VB5

3. Format date/time in DTPicker to display AM/PM or 24 hour time

4. Force Excel Window to be Active Window

5. How can I force Active Directory Replication with vb.net

6. Advanced Programming -- Reading Data from an Active Program

7. Trap keystrokes in VB programs that is not the active program

8. implement a forced time out from a web application

9. Can threading model be forced at run time?

10. Help - FORCE TIME FORMAT TO BE 24 HOUR ??

11. Would like to force program to pause

12. Absolutely force a program to load at startup.....

 

 
Powered by phpBB® Forum Software