Results 1 to 4 of 4

Thread: [RESOLVED] Memory Management

  1. #1

    Thread Starter
    Junior Member hellilyntax's Avatar
    Join Date
    Jun 2006
    Location
    Kedah, Malaysia
    Posts
    28

    Resolved [RESOLVED] Memory Management

    anybody,

    im developing a program that updates sql server on the net. so the program consumes a lot of cpu usage. my problem is, when processing, the application seems not responding, but the task is runnig.

    im going to display every row transmitted to sql server in real time but the form is not responding. i cant even move the form.

    if anybody knows how to handle this hugh processing task pls give me some idea...

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Memory Management

    Moved from the CodeBank

  3. #3
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    Re: Memory Management

    Add DoEvents just before or just after you execute the SQL statement.
    The most difficult part of developing a program is understanding the problem.
    The second most difficult part is deciding how you're going to solve the problem.
    Actually writing the program (translating your solution into some computer language) is the easiest part.

    Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.

    Please Help Us To Save Ana

  4. #4

    Thread Starter
    Junior Member hellilyntax's Avatar
    Join Date
    Jun 2006
    Location
    Kedah, Malaysia
    Posts
    28

    Re: Memory Management

    thanks dude,
    i'll try that first...
    actually, i never use DoEvents in my coding so far..hehe
    im still beginner...
    ill study that word first..
    thanks anyway...

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