any suggestion or samples to best use progressbar or jvSProgressbar
Best? Only the best... Sorry, I only know the usual usage.
1. Do long (hard) work in the thread and increase (by interlocked functions) progress variable.
2. Use the main thread. Increment the progress variable in the loop and call the Application.ProcessMessages.
In both cases use a timer (300 ms is fast enough for a normal user) to update the position of the ProgressBar control to the value of the progress variable.