I have a process (adapter.fill) it takes much time . to execut
I want to use thread for progress bar to move.
I use code like below
thread = New Threading.Thread(AddressOf Me.showform) thread.SetApartmentState(Threading.ApartmentState.STA) thread.Start()
showform is a form that contains progress bar and in its form load progress bar is move .
but it has a error and it dosent work correctly.
is there another way to use progress bar with thread????