title: Is it possible to change text colour when different text is set?
body: <p>I know the title doesn't describe too good but I was wondering if there was a certain code to type into Visual Basic to make the text in a textbox change colour when the text changes.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>If My.Computer.Network.IsAvailable Then
              txtnetwork.Text = "Connected"
          Else
              txtnetwork.Text = "Disconnected"
          End If
  </code></pre>
  
  <p>So is there a way of making the "Connected" text Green, and the "Disconnected" text Red?</p>