locked
Form not responding RRS feed

  • Întrebare

  • Hi everyone,

    I have an application with a few buttons, when I press the "start" button it enters a cycle, basically it clicks on another application, it makes screen captures (small ones let's say 35x15), it compares the images with others I have allready saved, it makes statistics and use them, and so on..... it it an endless loop actually.

    The problem is that once started it is very difficult for me to regain control of the application, I want to click on the "x" button to close the form but I need to do that 10 times until it does it.

    So, is it a way to give the form a little processor time so that it could respond to my requests without interrupting the cycle it is doing?

    Thanks in advance

    • Tip modificat todo1979 joi, 22 iulie 2010 06:13
    joi, 22 iulie 2010 06:09

Răspunsuri

  • 1. DoEvents

    2. pune ceea ce faci intr-un thread.

    (PS: De ce nu scrii in Romana?)


    Ignat Andrei http://msprogrammer.serviciipeweb.ro/
    • Marcat ca răspuns de Denis Chiurtu luni, 21 februarie 2011 13:50
    luni, 21 februarie 2011 13:42