title: VB.NET: Check if file is saved?
body: <p>I'am creating a script editor for my own purposes.
  And i have a menu option called "Close", and i want to check if the file is saved or not, so it no code get lost by clicking wrong.</p>
  
  <p>Anyone have a idea how i check if the file is saved?</p>
  
  <p>-Stian</p>