How i can shutdown computer programmaticaly with vb?

Recommended Answers

All 2 Replies

See if this help :

Shell("shutdown -s") 'Shutdown

See if this help :

Shell("shutdown -s") 'Shutdown

Thats worked perfectly sir...
Thank you..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.