Hi everyone
I'm trying to code a program that shuts down, restarts or logs off a computer. So far everything works except log off. I'm using a windows 7 computer and the code for the log off button is this:
Private sub cmdLogOff_Click
shell "shutdown -l -f -t 00"
End sub
Any help would be greatly appreciated
I'm trying to code a program that shuts down, restarts or logs off a computer. So far everything works except log off. I'm using a windows 7 computer and the code for the log off button is this:
Private sub cmdLogOff_Click
shell "shutdown -l -f -t 00"
End sub
Any help would be greatly appreciated