I'm using this code to set a picture in Tab.vb from themes.vb:
 Public objForm As Object 'This is at the top of the page, under Public Class
 Private Sub RadioButton1_CheckedChanged(sender As Object, e As EventArgs) Handles     RadioButton1.CheckedChanged 
    If RadioButton1.Checked = True Then
        CType(objForm, tab).PictureBox1.Image = Image.FromFile("Abstract.png")
    End If
End Sub
However, when checking the radio button, I get this message:
An unhandled exception of type 'System.NullReferenceException' occurred in REDIEnet Browser.exe
Additional information: Object reference not set to an instance of an object.
Help!
 
    