Yeah there is some code for the close button clicked event.
Apart from that I am parsing a XML, and using the values obtained from XML
to populate the textbox.
Private Sub cmdClose_Click(ByVal eventSender As System.Object, ByVal
eventArgs As System.EventArgs) Handles cmdCancel.Click
Me.Hide()
Me.Close() 'This is the point where the codes stops and gives the exception
"cannot access disposed object named TextBox"
End Sub
"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:u0****************@TK2MSFTNGP09.phx.gbl...
Ravindra,
Do you have beside that textbox and button as well code written by you in
your program?
Cor