Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Progress Bar

Status
Not open for further replies.

Guest_imported

New member
Joined
Jan 1, 1970
Messages
0
Hi

I want to initilize oleProgrss Bar at every time I run it. It only initionalize when form initionalize. Any idea to use correctly this object. If I close the form and re-run the form then it works well otherwise not.

Thanks in advance
Ahsan Rana
 
Can you explain:

[red]
I want to initilize oleProgrss Bar at every time I run it.
[/red]

Is it an Activex or a class?
 
Hi

It is an ActiveX Conbtrol. I mean if I run this control first time after loading form then it works well and if I run it more than one time without closing form it only works only one time and after it, does not start progress bar from starting point and looks like there is no action on it. I think it does not initialize its values and it remain at its higher value. In Property box there are only two values, (1) Starting value which is 1 and Ending value which is 100. How I can run it more than one time without closing and restarting form.

Thanks in advance
Ahsan Rana
 
what is the class of the progress bar?
(something like msComCtlLib.ProgCtl.2)
If this is the one you're using, just adjust the properties "Min", "Max" and "Value" to place its progress at the proper spot.
For the help file, place the focus on the Min or Max property of the progress bar properties window and press F1.
 
Hi

This have already been done but no response. I think perhaps we have to clear the bar before starting it but I could not found clear property. Anybody must have an idea.

Thanks
Ahsan Rana


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top