>because it is a windows 98 computer plus i am just trying to see what i can do with VB since i just started using it.
Another way of easily locking a workstation is to use a passworded screen saver!
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com