I don't remember 100%, but I think you are supposed to stick the progressbar.value=current_value in a timer, or some kind of "update" function so that you can have it keep track of where it's position is, relative the operation you are performing. So, if you are installing something, you have to know when you are 1/2 way through the install, so that the progress bar reflects that.
Comatose
Taboo Programmer
2,910 posts since Dec 2004
Reputation Points: 361
Solved Threads: 215
MrMike's post is the proper way to do it... I don't have your project, so I can't give you specifics, but here is a page that has a great tutorial on how to implement a progress bar in your application:
http://www.codeguru.com/vb/controls/vb_activex/activex/article.php/c7121/ I find that this progress bar is fairly easy to use... you just add 1 to the value, during your processing, but ultimately, you'll have to play with it in your app to see how to make it work for you.
I don't fully understand the second question you are asking. I see that it has something to due with duty and the date, but I'm not sure what you mean exactly. Let me know, and I'll see what help I can offer.
Comatose
Taboo Programmer
2,910 posts since Dec 2004
Reputation Points: 361
Solved Threads: 215