This is somewhat vague...

Are you using arrays?

VB Code:
  1. Erase ARRTEMP

Unload All Form when Exiting program

VB Code:
  1. Dim Frm as Form
  2.  
  3. For Each Frm in Forms
  4.  
  5. Unload Frm
  6.  
  7. Set Frm=Nothing
  8.  
  9. Next
  10.  
  11. End

Are you using connections and recordsets (databases access)

VB Code:
  1. Rst.Close
  2.  
  3. Cnn.Close
  4.  
  5. Set Rst = Nothing
  6.  
  7. Set Cnn = Nothing

Wher rst is your recordset object, and cnn is your connection string object...