Jump to content

Help Needed With Visual Basic 2008

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
8 replies to this topic

#1
wolf78

wolf78

    Newbie

  • Members
  • Pip
  • 7 posts
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

#2
questionspoint

questionspoint

    Newbie

  • Members
  • PipPip
  • 15 posts
what could be the purpose of this approach?

#3
wolf78

wolf78

    Newbie

  • Members
  • Pip
  • 7 posts
there are 4 kids that get on the net and we are limiting their time on to one hour.All the kids use cometbird

#4
Vswe

Vswe

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 9,552 posts
It would be easy to create that program but the tricky part would be to prevent them for opening it the normal way.

#5
wolf78

wolf78

    Newbie

  • Members
  • Pip
  • 7 posts
you mean just going to the program files and open it that way?

#6
Vswe

Vswe

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 9,552 posts
Yeah...

#7
wolf78

wolf78

    Newbie

  • Members
  • Pip
  • 7 posts
they dont know how to do that...they are 4,6,10 and 13

#8
Vswe

Vswe

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 9,552 posts
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.codecal...-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.

#9
wolf78

wolf78

    Newbie

  • Members
  • Pip
  • 7 posts
Thank You very much for your help..i will get working on it and see what i can come up with