C
Charles A. Lackman
Hello,
I made a Windows Project in 1.1 and converted it to 2.0 and get the
following Error:
"Cross-thread operation not valid: Control 'progressBar1' accessed from a
thread other than the thread it was created on."
I have a small form that is processing a lot of information and if the user
moves the window or opens a new one and closes it, the form is not redrawn.
You just get a while window.
I managed to work around this in 1.1 using a new thread to do all the work
and to refresh the form and a progress bar. Unfortunately, this does not
work in 2.0.
Any Suggestions will be greatly appreciated.
Thanks,
Chuck
I made a Windows Project in 1.1 and converted it to 2.0 and get the
following Error:
"Cross-thread operation not valid: Control 'progressBar1' accessed from a
thread other than the thread it was created on."
I have a small form that is processing a lot of information and if the user
moves the window or opens a new one and closes it, the form is not redrawn.
You just get a while window.
I managed to work around this in 1.1 using a new thread to do all the work
and to refresh the form and a progress bar. Unfortunately, this does not
work in 2.0.
Any Suggestions will be greatly appreciated.
Thanks,
Chuck