Does anyone know how to restart a computer in VB? (non windows app)
I need the code please!:)
Printable View
Does anyone know how to restart a computer in VB? (non windows app)
I need the code please!:)
See this page
http://www.thescarms.com/VBasic/chgres.asp
If it's a Non-Windows App, you can't make it in VB.
I'm not using VB, i'm using Dev-C++. You can get it at www.bloodshed.net. It's a free builder and compiler but you can make DOS programs and windows but...i'm making a DOS one. I'm new at this stuff.
If you are not using VB then what does this mean
Quote:
Does anyone know how to restart a computer in VB?
Crap sorry i meant C++...
That's all beside the point as it's impossible to safely restart Windows from a non-Windows program.