Windows application hangs on intensive work?

Asked By 0 points N/A Posted on -
qa-featured

I designed one form application (kind of utility) in Visual Studio. This utility application is used for extensive database transactions.

However, after running this application for a short period of time it freezes my window and the cursor becomes inactive.

I am also writing logs into a text box, but they cannot be put to work until the utility finishes its work.

I will appreciate your help.

SHARE
Best Answer by John Micheal
Best Answer
Best Answer
Answered By 0 points N/A #92835

Windows application hangs on intensive work?

qa-featured

What you are explaining and other issues related to it are ineffective.

Take it one step before the other, perform a full system Trojan check on all disks and partitions.

As an admin, perform an extensive sfc/scan which should clean up almost any recorded data corruption (you ought to do that everytime you have to manually shutdown and reactivate with the power button).

In the event that this sfc does not perform, then you have corrupted data files which need to be repaired using a program on a CD (install/repair) or you'll even have to reinstall the Operating System.

Defragment your computer's drive C partition. Make sure just about all updates towards the OS and also assistance applications are completed.

Answered By 0 points N/A #92836

Windows application hangs on intensive work?

qa-featured

There is a technique called delegates and events. When two controls want to communicate with each other, then this technique is used. You have to use the delegates and events so that when a specific transaction takes place, one control tells the other that this task has been completed. Now you can proceed further on that. Then the other control displays the logs or does whatever you want it to do. It can even be a progress bar and you can write logs in the text box control. In this way, your form will not hang and it will work normally showing you the logs.

Related Questions