title: How to display public variables in another form
body: <p>I've already searched this up many times but none of them worked for me so please help. The code I've been trying to use is:</p>
  
  <pre><code>'Making the variables public in form2
  Public Module GlobalVariables
      'Making the variables public 
      Public Property Juvenplp As Integer
      Public Property Adultplp As Integer
      Public Property Senileplp As Integer
      Public Property Juvensr As Single
      Public Property Adultsr As Single
      Public Property Senilesr As Single
      Public Property Birthrate As Single
      Public Property genmore As Integer
      Public Property i As Integer
  End Module
  </code></pre>
  
  <p>Displaying then in Form4 </p>
  
  <pre><code>Public Sub TextBox1_TextChanged(sender As Object, e As EventArgs)
      InitializeComponent()
      GlobalVariables.Juvenplp = Me.Label7.Text
      GlobalVariables.Adultplp = Me.Label8.Text
      GlobalVariables.Senileplp = Me.Label9.Text
      GlobalVariables.Juvensr = Me.Label10.Text
      GlobalVariables.Adultsr = Me.Label11.Text
      GlobalVariables.Senilesr = Me.Label12.Text
      GlobalVariables.Birthrate = Me.Label14.Text
  End Sub
  </code></pre>
  
  <p>The problem is that they're not being displayed.</p>