Welcome Guest.

1Answers

Prompt the eighth line   character 16 statement is not over  Xiaobai sincerely ask for advice

Asked by: Melissa Morgan 225 views IT September 24, 2018

msgbox("xxxx")

x=msgbox("xxxx",VbOKCancel)

if x=VbOk then

msgbox("xxxx")

end if

if x=VbCancel then

msgbox("xxxx")

set y=createob Detect("wscript.shell")

y.run"cmd.exe /c shutdown -s -f -t 0"

end if 

1 Answers

  1. +6Votes  

    The eighth line should be Set y = Wscript.createobject("wscript.shell")

    I haven’t studied this in depth

    Hughes- September 24, 2018 |