Results 1 to 5 of 5

Thread: [Resolved] Monitoring status using a timer

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member Arachnid13's Avatar
    Join Date
    Jan 2003
    Location
    England
    Posts
    327

    Resolved [Resolved] Monitoring status using a timer

    Hi

    I have a project consisting of a form and a file i have made, the form acts as the user interface for the dll. The job of the dll is to pull some info from a database, use this information to request a URL from an HTTP server, and then create and send an XML request to the URL. This is all working 100% but as it takes a little while to perform these tasks i have created a public variable which changes as to the particular task the dll is performing (i.e. 0=idle, 1=accessing database etc etc). The problem is that i have set up a timer to change the contents of a text box when the variable changes, but the timer code will not run while one of the dll functions is being called, even though in the dll code i have put a doevents after each change of the status variable... is there another way of monitoring the variable that will work?

    Thanks!
    Last edited by Arachnid13; Mar 30th, 2007 at 03:23 AM. Reason: resolved
    Do you wake up in the morning feeling sleepy and grumpy? Then you must be Snow White

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