VB Code:
  1. Dim frm As Form
  2.       For Each frm In Me.Parent.FindForm.MdiChildren
  3.       frm.Close()
  4. Next

This code is written on a mdichild and when i run it, the parent/mdi container also closes. But when i change the frm.close() to frm.windowstate = minimized, the mdichild minimizes, no problems whatsoever...

how do i go about this?

Basically I'm in an mdichild, and i need to kill the mdichild without killing the parent. (I sound like a murderer LOL)