Hi!
I´m new to this scripting f***ing s**t.... Just kidding, I want to make a script that reboots my computer if I click yes on a msgbox. So faar the script looks like this:
Option Explicit
Dim MyVar
MyVar = MsgBox ("... is now installed on your computer, the machine has to be rebooted", vbYesNo, "Reboot"
If vbYes Then
What now? Can´t figure out what to put there...If someone knows about some good reference sites that would be great too...
Best Regards
/Jim
I´m new to this scripting f***ing s**t.... Just kidding, I want to make a script that reboots my computer if I click yes on a msgbox. So faar the script looks like this:
Option Explicit
Dim MyVar
MyVar = MsgBox ("... is now installed on your computer, the machine has to be rebooted", vbYesNo, "Reboot"
If vbYes Then
What now? Can´t figure out what to put there...If someone knows about some good reference sites that would be great too...
Best Regards
/Jim