title: .NET: shutdown laptop even after close of application
body: <h1>Update</h1>
  
  <h2>Situation:</h2>
  
  <p>I'm trying to make an application that shutdown my laptop using a simple button but when I press the button the shutdown still has to work.</p>
  
  <h2>Question:</h2>
  
  <p>Is this possible to do? And how do I have to do it? Or is this an automatic process?</p>
  
  <h2>Code:</h2>
  
  <p>I think the code should look like this:</p>
  
  <pre><code>    Private sub 
          Button1_click(ByVal...)
                 Shell("shutdown /s") 
      End sub
  </code></pre>
  
  <p>Can someone please give me feedback if I used it correct?</p>
  
  <p><strong>Thank You</strong></p>