title: How to activate the FileSystemObject in Visual Basic Express 2010?
body: <p>I do have a "Microsoft Scripting Runtime" reference and added the "Scrrun.dll" file in Projects > References.
  But the code below triggers an error. </p>
  
  <blockquote>
    <p>Error 1   Type 'FileSystemObject' is not defined. C:\Temporary Projects\WindowsApplication1\Form1.vb  6   24  WindowsApplication1<br>
    Error 2   Type 'Folder' is not defined.   C:\Temporary Projects\WindowsApplication1\Form1.vb          7   20  WindowsApplication1</p>
  </blockquote>
  
  <pre><code>   Dim fso As New FileSystemObject
     Dim fld As Folder
  </code></pre>