title: Adding a string to visual basic form
body: <p>How can I add a string to my visual basic form?</p>
  
  <p>I'm creating a study application for myself and this is what I have:</p>
  
  <pre><code>Imports System.Diagnostics
  Public Class Form1
  
  Dim amounts As Integer
  
  
  Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
  End Sub
  
  Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Processes.Tick
      Dim proc() As Process = Process.GetProcesses
      Dim newproc As New Process
      amounts = 0
      For Each newproc In proc
          If newproc.ProcessName = "firefox" Then
              newproc.Kill()
              amounts = +1
  
          Else
  
          End If
      Next
  End Sub
  
  Private Sub Label1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label1.Click
  
  End Sub
  </code></pre>
  
  <p>End Class</p>
  
  <p>I'm trying to display a line of text on my form saying.. "Prevented firefox from running X times.</p>
  
  <p>X being my "amounts" variable.</p>
  
  <p>Here's what my form looks like: <a href="http://img696.imageshack.us/img696/8162/programq.png" rel="nofollow noreferrer">http://img696.imageshack.us/img696/8162/programq.png</a></p>
  
  <p>So how can I put my amounts variable in place of the X?</p>