I did a little fake novel login and it is link to a database... but now I want to add the reboot stuff so when you *error message* tell the user that the user wasn't able to log on, I want to comp to restart so when the user try it again, it works. It's in Visual Basic .Net.
I tried some stuff but it all close my account first and slowly restart. Is there an instant one?
How to reboot instantly?
- Nerdz
- The Architect
- Posts: 1127
- Joined: 15 Jun 2005, 16:00
- 19
- Location: #db_error in: select usr.location from sucko_member where usr.id=63;
- Contact:
How to reboot instantly?
Give a man a fish, you feed him for one day.
Learn a man to fish, you feed him for life.
Learn a man to fish, you feed him for life.
- bad_brain
- Site Owner
- Posts: 11638
- Joined: 06 Apr 2005, 16:00
- 19
- Location: In your eye floaters.
- Contact:
hm,I don´t know if this helps, but here´s the command line way:
Code: Select all
shutdown -r -t 0