Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Memory problem when clsoing a child form

Status
Not open for further replies.

flybravo

Programmer
Jun 30, 2003
35
US
Every time I close the form, the program does not release the memory. If I open the form a few times, the program starts to eat away at the memory. Here is my code. What is missing. Thanks

*****Parent Form******
public Sub OpenChildForm()
dim OrderForm as new frmOrders
OrderForm.mdiParent = ME
OrderForm.Show
OrderForm = nothing
End Sub
*****Child Form******
public Sub CloseForm()
me.dispose(True)
End Sub
 
you have to close it

me.close

Christiaan Baes
Belgium
"What a wonderfull world" - Louis armstrong
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top