|
-
Nov 9th, 2006, 08:53 PM
#1
Thread Starter
Hyperactive Member
Limit Usage of pc
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
-
Nov 9th, 2006, 09:10 PM
#2
New Member
Re: Limit Usage of pc
you could save the settings so that even if the user logs out it will save how long they were on so next time they login it will know..
savesetting(app.name, user, "TimeLog", timeon)
don't forget to load it
timeon = getsetting(app.name, user, "TimeLog", 0)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|