i have made 3 forms lets say form1 and form2 and form3 now their is a button
on form1 that opens form2 and a button on form2 that opens form3,
I want to place a button on form3 that closes form2 but i use the code:
dim form2 as form2
form2.close
which you would think would work, but it returns with a error:
"An unhandled exception of type 'System.NullReferenceException' occurred in
Blank.exe
Additional information: Object reference not set to an instance of an object."
Please help