i'd like to make a code, where i can limit pc usage so that a user can only log on to the computer for a certain time i thought of using a timer but it would be restarted if the user logged on again. I am only a beginner with vb can anyone give me an idea of how to do this.

Thanks in advance
chris1990