title: How to add random numbers between two sets of text vb.net
body: <p>Okay so I have been trying to make a junk code generator for C++ (new to vb.net just trying to get somewhat familiar with different languages) and I am stuck at being able to call random numbers between two lines of text
  currently I am stuck at</p>
  
  <pre><code>Private Sub Button4_Click(sender As Object, e As EventArgs) Handles 
  Button4.Click
  Dim value As Integer = CInt(Int((10000 * Rnd()) + 9999999))
  Me.RichTextBox1.Text = (
  " float pJunkcode = " + value + ";" +
  " if (pJunkcode = " + value + ";" +
  " pJunkcode = " + value + ";" +
  " pJunkcode = " + value + ";" +
  " pJunkcode = " + value + ";" +
  "If(pJunkcode = " + value + ";" +
  " pJunkcode = " + value + ";" +
  " pJunkcode = " + value + ";" +
  " If (pJunkcode = " + value + ";" +
  " pJunkcode = " + value + ";" +
  " pJunkcode = " + value + ";" +
  " pJunkcode = " + value + ";" +
  " If (pJunkcode = " + value + ";" +
  " pJunkcode = " + value + ";" +
  " pJunkcode = " + value + ";" +
  " If (pJunkcode = " + value + ";" +
  " pJunkcode = " + value + ";" +
  " pJunkcode = " + value + ";" +
  " pJunkcode = " + value + ";" +
  " If (pJunkcode = " + value + ";" +
  " pJunkcode = " + value + ";" +
  " pJunkcode = " + value + ";")`
  </code></pre>
  
  <p>The error I am getting is</p>
  
  <blockquote>
    <p>Conversion from string "pJunkcode" to type 'Double' is not valid. </p>
  </blockquote>