Distorted form while application is running

G

Guest

Hey all hope you can answer my question.

I have a vb.net application that has one form with a button and a label.
When you click the button it kicks off a very CPU intensive proccess
(iterations through numerous workbooks with multiple worksheets). Common
proccessing time is around 3 minutes.

My problem is during that three minutes. While the program is chugging
away if I pull up another window(such as Outlook) and then go back to my form
it is distorted. It looks like part of the window I opened is stil drawn on
the VB form. Unforunately I am unable to see the label on the form that
contains a description of the workbook I am currently proccessing. Is there
anyway I can prevent this distortion from happenening?

BTW In between workbooks I update the label and refresh the form which
clears it up but I do not want to referesh the form every second or so to
prevent this from happening.

Any help would be greatly appreciated
Mike C
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top