Is it possible to make a script that would have a login and password for 5 users? and after logging in would start an application then shutdown the same application after an allowed amount of time?
My case would be ..shutting down cometbird after 1hour of being open
Any help would be very much appriciated...if its possible
what could be the purpose of this approach?
there are 4 kids that get on the net and we are limiting their time on to one hour.All the kids use cometbird
It would be easy to create that program but the tricky part would be to prevent them for opening it the normal way.
you mean just going to the program files and open it that way?
Yeah...
they dont know how to do that...they are 4,6,10 and 13
If so it shouldn't be that hard, for the login thingy you should store 5 usernames/passwords and store each time left(of the hour) in a setting(so it will be stored after shutdown) [http://forum.codecall.net/vb-tutoria...basic-net.html] so when they login you should start some form of timing check(a Timer for example)and also use processes to start commetbird and keep the process to then kill it after an hour. You probably want to reset the times too(if they should have an hour a day), if so you could store the last day it reseted and reset all times if they try to log in teh day after.
Thank You very much for your help..i will get working on it and see what i can come up with
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks