title: Format number with leading zeroes in .NET 2.0
body: <p>I have problem to format numbers and convert it to string with leading zeroes when application uses NET framework 2.0 with Visual Basic.  </p>
  
  <p>I try:</p>
  
  <pre><code>Dim myNum = 12
  Dim myStr as String
  
  Dim myStr = myNum.ToString("0000")
  or
  Dim myStr = myNum.ToString("D4") 
  </code></pre>
  
  <p>... in order to get wanted string: 0012</p>
  
  <p>Please help to solve this.</p>