Nitin Shah
asked on
how to log off computer windows 8.1 or windows 10 (64 bit) in vb6 application.
i want to log off computer after each 2 hours of processing how can i log off in windows 8.1 or windows 10 ( 64 bit) node.
i have try Shell "shutdown -l -t 00" but it is not working,
Thanks in advance.
i have try Shell "shutdown -l -t 00" but it is not working,
Thanks in advance.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Another option could be from the Power options from the control panel.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for Kind Help
I have made batch file as follows
@echo off
c:
cd\windows\system32
shoutdown /l
exceuted above batch file shell mode.
Thanks
I have made batch file as follows
@echo off
c:
cd\windows\system32
shoutdown /l
exceuted above batch file shell mode.
Thanks