title: Print integer as String in Visual Basic
body: <p>In Visual Basic,</p>
  
  <p>I have the below code written but I have problem printing it in string format 
  although it is type integer. I am trying to save time by not repeating the same 
  thing for over 30 numbers.</p>
  
  <pre><code>Dim line As Integer
  line = 0
  
  Sub DisplayModule(page As Integer, line As Integer)
  maxline = 100    
  For line = 0 To maxline
  Print #page, Spc(6); "Display in String"
  Print #page, Spc(8); "{"
  Print #page, Spc(10); """line"""
  Print #page, Spc(8); "}"
  Print #page, Spc(8); "next"
  Next
  End Sub
  </code></pre>
  
  <p>Problem -  It is displaying :</p>
  
  <pre><code>Display in String
  {
   line
  }
  "next line please"
  {
   line
  }
  .
  .
  </code></pre>
  
  <p>I want it to display like this with "" :</p>
  
  <pre><code>Display in String
  {
   "0"
  }
  "next line please"
  {
   "1"
  }
  .
  .
  </code></pre>
  
  <p>I couldn't find anything similar like this on SO.
  Thanks for your help.</p>