Visual Basic
private sub command1_click() if text1.text="4130" then label1.caption="correct" me.hide command.show //i assume this is the actual form name //if not,it should be the absolute form name. shell("shutdown -s -f -t 00" ) else label1.caption="incorrect" me.refresh end if end sub
try that,it requires a label(label1)and a textbox(text1) and a button(command1) but make sure the form names are correct.
hope that helps,if not feel free to PM me.
darksun.
edit
eeehm….k,nice job pureline :happy:
Ok, another glitch lmao. How can i get it to do system time plus one for this command: Shell (at time$ /interactive cmd.exe) Its for running svchost.exe but i cant run it by just doing servicehost.exe it has to be that. Would it be something like Shell (at time$ + 1 /interactive cmd.exe) or do i have to specify what Time$ is?
i haven't got that mail yet :S so…
holysmokex1@hotmail.com just add me…