Threading progress bar in vb.net - thread operation not valid: Control 'ProgressBar1' accessed from a thread other than the thread it was created on?

Progress bar is on GUI thread. If you try to access it form other thread then this error will occur.

Sorry but your code is messy. You mix data processing and progress display in all this code. And you call a thread(ProgressBarThread), that will call a sub that might auto invoke to do... just one operation?

So why a thread? And Since there's only one progress bar, you can't launch several threads AND have display for each of them.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions