Results 1 to 2 of 2

Thread: Low System Resources

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 1999
    Location
    Greece
    Posts
    26

    Question

    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.

  2. #2
    PowerPoster Chris's Avatar
    Join Date
    Jan 1999
    Location
    K-PAX
    Posts
    3,238

    Smile

    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
  •  



Click Here to Expand Forum to Full Width