hi all,
I am to pass two values from form f1 to form f2.i wrote a code on keypress event .It works good.But on loading of f2 i want to close f1.I wrote this on f1
Dim f As New frmattendance
f.Owner = Me
f.Show()
f.txttdays.Text = days
f.l2.Text = dtp.Text
on f2 load event
Me.Owner.Close()
Also tried this
Dim f As New frmmonth
f.Close()