I'll tell your some shell functions. With shells, you can shutdown, restart, log off, open a program, and much more!
Let's let started ::Smile::
Shutdown Tutorial With Shell:
Make a button, call it Shutdown, and add this code
[vb]Shell("shutdown -s")[/vb]
Restart Tutorial With Shell:
Make a button, call it Restart, and add this code
[vb]Shell("shutdown -r")[/vb]
Log Off Tutorial With Shell:
Make a button, call it Log Off, and add this code
[vb]Shell("shutdown -l")[/vb]
Abort Tutorial With Shell:
(This aborts / cancels your shutdown, restart, or log off)
Make a button, call it Abort, and add this code
[vb]Shell("shutdown -a")[/vb]
Open a Program Tutorial With Shell:
Make a button, call it whatever you want and add this code:
[vb]Shell("C:\Program Files\Mozilla Firefox\firefox.exe")[/vb]
Change the thing between ( and ) to whatever you want the program to open.
So if you want to open Sandboxie it would be:
[vb]Shell("C:\Program Files\Sandboxie\Start.exe")[/vb]
Let's let started ::Smile::
Shutdown Tutorial With Shell:
Make a button, call it Shutdown, and add this code
[vb]Shell("shutdown -s")[/vb]
Restart Tutorial With Shell:
Make a button, call it Restart, and add this code
[vb]Shell("shutdown -r")[/vb]
Log Off Tutorial With Shell:
Make a button, call it Log Off, and add this code
[vb]Shell("shutdown -l")[/vb]
Abort Tutorial With Shell:
(This aborts / cancels your shutdown, restart, or log off)
Make a button, call it Abort, and add this code
[vb]Shell("shutdown -a")[/vb]
Open a Program Tutorial With Shell:
Make a button, call it whatever you want and add this code:
[vb]Shell("C:\Program Files\Mozilla Firefox\firefox.exe")[/vb]
Change the thing between ( and ) to whatever you want the program to open.
So if you want to open Sandboxie it would be:
[vb]Shell("C:\Program Files\Sandboxie\Start.exe")[/vb]