PDA

Click to See Complete Forum and Search --> : Block the Screen


eimroda
Aug 8th, 2001, 01:26 AM
I have a business where I lend computers to customers for a certain amount for a specified number of hours. Mostly, customers rented my computers for gaming (Counter Strike, Quake 3....). I am maintaining 15 computers manually and I found it hard to keep track on the usage of the computers. What I want is that I'll make a program that is going to block the screen after the specified time (No. of minutes/hours) automatically, thus preventing the user to continue using the computer if his time is up. I created a program with such purpose by using the SetWindowPos API. I was successful when the user is only using windows apps. such as MS Office or the internet. But in terms of games, when it attempted to block the screen, all I get is a blinking screen and the game application prevailed. Is there any other API to use to solve this problem or is there any free program with such purpose whcih I can download?

Matthew Gates
Aug 8th, 2001, 01:58 AM
Take a look at your other thread (http://www.vbforums.com/showthread.php?s=&postid=470057), it's a suggestion, but it may work :rolleyes:.

eimroda
Aug 8th, 2001, 02:11 AM
Thank you very much. But the user have the option to resume and logging him off will also disconnect him from the current game server. When the program blocks the screen, the workstation should not be disconnected from the game server. any ideas please?

stever2003
Aug 10th, 2001, 07:19 AM
i found this example on freevbcode.com and knew you were looking for it, so just goto http://www.freevbcode.com/ShowCode.Asp?ID=508