|
-
Nov 18th, 2000, 05:42 PM
#1
Thread Starter
Junior Member
Hi.. I am making a vb application with vb6. I have noticed
that, the more code I write the lower the resources are getting.
Of course this happens naturally but I really don't know the exact reason why they are getting so low...
Is there someone to send me some advice on how to minimize
the resourses waste...???
Thank you
p.s.
Have in mind that I close all objects and forms correctly
releasing all memory.
-
Nov 18th, 2000, 11:15 PM
#2
PowerPoster
If you're loading multiple form in your application. make sure you release all the memory from the respective form by Set Form1 = Nothing
Unload Form1
OR
If you've use array in your application, you also need to erase t after used.
Erase Array
OR
If your application is related to database, then you need to set all the ADO or DAO object to nothing after you used it.
Try do not load too many image file into your application.
Hope I'm correct and this can help you to improve you application performance.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|