try xlock :)
Main Topics
Browse All Topicsi'm developing an online testing system that need to lock user's desktop during testing. Anybody give me ideas how to do this. Many tks.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Hi,
Try this changing Registry Values
http://www.winguides.com/r
http://www.winguides.com/r
--------------------------
Create a new DWORD value based on the options below, and set the new value to equal "1" to enable the restriction or "0" to disable the restriction.
NoChangingWallpaper - Disable the ability to change wallpapers.
NoComponents - Disable components.
NoAddingComponents - Disable the ability to add components.
NoDeletingComponents - Disable the ability to delete components.
NoEditingComponents - Disable the ability to edit components.
NoCloseDragDropBands - Prevents adding, dragging, dropping and closing the Taskbar's toolbars.
NoMovingBands - retrict adjustments to desktop toolbars
NoHTMLWallPaper - only allow bitmaps (BMP) as wallpaper
These restrictions can be used either on a user by user basis by adding it to HKEY_CURRENT_USER or on a computer wide basis by adding it to HKEY_LOCAL_MACHINE.
User Key: [HKEY_CURRENT_USER\Softwar
ActiveDesktop]
System Key: [HKEY_LOCAL_MACHINE\Softwa
ActiveDesktop]
Data Type: REG_DWORD (DWORD Value)
Value Data: (0 = disable restriction, 1 = enable restriction)
If by 'lock the desktop' you mean make it so that the user cannot leave the testing screen.
I dont beleive you can enforce this in a webpage.
In a program maybe by using the maxamized and topmost, however multiple display setups could fool this (ie where multiple monitors to increase dekstop space).
Another option for a program is in the 'lost focus' for the application have it give itself focus back (be carefull to ignore on shutdown of the application)
Business Accounts
Answer for Membership
by: sriramiyerPosted on 2006-01-24 at 19:34:26ID: 15783277
Hi hoaivan,
source/Des ktopLock.z ip
Free readymade sample code available.
Try this URL:
http://www.freevbcode.com/
Hope it helps to you.
Regards,
SriRamIyer.