title: What is the Reference that we have to add to use the Format function in Visual Basic 6.0?
body: <p>I'm using VB 6.0 and it gives me:</p>
  <blockquote>
  <p>Compile Error:</p>
  <p>Can't Find Project or Library</p>
  </blockquote>
  <p>in this sub:</p>
  <pre><code>Private Sub MDITimer_Timer()
      Dim textStr As String
      textStr = Format(Now, &quot;dd-mm-yyyy hh:mm:ss&quot;)
      StatusBar.Panels(1).Text = textStr
  End Sub
  </code></pre>
  <p>I made it like this and the error still was in the Format function (so it is not a <code>StatusBar</code> problem).</p>
  <p>Can you tell me what is the Reference that we have to add to use the Format function? Or if a Reference is not needed, what do we have to do to make this work?</p>