title: How to completely stop running the code and exit the application?
body: <p>In my code, I check if the executable file <code>op.exe</code> is in the application run path directory, in case if not, it does show <code>MsgBox</code> and exits the application, the problem is that it doesn't really exit the application, because the code after is executing everytime.</p>
  
  <p>Here is the code I'm talking about:</p>
  
  <pre><code>    If Not File.Exists("op.exe") Then
          MsgBox("op.exe not found!", MsgBoxStyle.Critical, "Error")
          Application.Exit()
      End If
      IO.Directory.CreateDirectory('files')
  </code></pre>
  
  <p>MsgBox appears, and application does exit, but it's creating the directory <code>files</code> afterwards (<code>IO.Directory.CreateDirectory('files')</code>) . I dont want that, and I would like to completely close the application after showing the MsgBox.</p>
  
  <p>How can I do that?</p>