-
I have an application with 8 forms or so. One is a major form that all the others update. After they update this form I use the UNLOAD command to try and pull them out of memory. However, even with a single form, and this major (hidden) form the system resources in windows drop from 90% before opening my file to 30%. My app has several timers involved (about 10) that are running. Any ideas on how to minimize the memory usage??
Thanks in advance.
Dion Brewington
-
If you have timers on a form that you unload the code isn't unloaded. You must set the form to nothing in the Unload event.
Code:
Private Sub Form_Unload()
'you can't use the Me keyword here
'this assumes that this form is called Form1
Set Form1 = Nothing
End Sub
Good luck!