Emma asked ... Foot pedal smoking?    |    Morne asked ... My defy dtl 125 toploader?    |    Ernie asked ... How to fix gearchange ldv maxus van 2006?    |    Cuckoo asked ... Changing batteries on a fixed bt corded phone?    |    Marc Nollid asked ... Nissan Micra mk 5 2018 rear seat mecanism?    |    Click here to ask your question

How do I unload a form in VB.NET?

I know that I can close a form in VB.NET by using the form.close command. Which command do I use to unload the form?
O.M., August 2003
The command you need is .... form.Dispose()

form would be the form's name. Dispose will close the form and release the object. This frees up the memory being used by the object. So this is a tidier method than the close method in VB.

Hope that helps.

Jinxy, February 2004