I am getting an "Object reference not set to an instance of an object" error on this code. I have searched the forums, but I cannot seem to find an example that is helping me. I am used to VB6, and trying to understand the basics of .NET

This is in a module, and there is a label on the frmMain called lblTestOutput


VB Code:
  1. Public Sub MakeChanges()
  2.         Dim f As New frmMain
  3.         If f.lblTestOutput.Text = "" Then
  4.             f.lblTestOutput.Text = "Button Pushed!"
  5.         Else
  6.             f.lblTestOutput.Text = ""
  7.         End If
  8.  
  9.     End Sub

Also, I am wondering...

what is the correct way to load up a form using "Sub Main?"