• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

New to vbscript and looking for simple help

DarkRukia

n00b
Joined
Aug 11, 2005
Messages
59
Ok so far I have the following:

intReply = MsgBox ("Your system has encountered a critical error, Windows will continue to shut down your system." , vbCritical + vbOKOnly ,"System Failure" )

And I want to follow up, so far this is the image that appears when you click the .vbs file

error7ip.jpg


Basically I want to learn how to make hitting the OK button follow up to do something such as open a program or even restart the computer.

I also want to make it so when you go to the file on a sites directory such as say the files name was Dan.vbs and when you go to the site/Dan.vbs instead of showing the text actually execute the pop up.
Can anyone help?
 
intReply = MsgBox ("Your system has encountered a critical error, Windows will continue to shut down your system." , vbCritical + vbOKOnly ,"System Failure" )

If intReply = 1 Then
...
Else

End If


You could echo the values to figure out how to use them:
WScript.echo intReply
 
Back
Top