Results 1 to 2 of 2

Thread: Run the program in background

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2000
    Location
    Hong kong
    Posts
    53
    Hi all,
    I'm trying to make a program that changes the wall paper at set periods of time (don't ask why hehe). The problem is that if I loop it to check the time, it locks the process up and I can't quit it. Is there an API or some other way where I can get it to constantly moniter the time while I can still operate GUI of the form?

    ie... the on button starts the loop
    but I need to press the off button to stop it... and when it's alreayd looping it won't let me touch anything else.

    Any suggestions?

  2. #2
    New Member
    Join Date
    Sep 2000
    Posts
    6

    1. solution: you could use DoEvents to free process.
    2. sol: use a timer! a timer runs in background, so youre still able to perform other commands

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