Chat on IRC |
Progress Bar in VB 6
Posted by Cortez [send private reply] at July 31, 2002, 10:30:22 AM
I've been using QB and was doing quite well with it about a progress bar that I wrote manually. But I saw a object-like thing in VB that is called progress bar. Can someone help me about it, I really do have no idea about how to use it...
Posted by Psion [send private reply] at July 31, 2002, 01:38:26 PM
Look in MSDN....
Posted by Cortez [send private reply] at August 01, 2002, 02:01:30 AM
I am really sorry, but where should I have to look in MSDN? Library? Code center?
Posted by eXorcus [send private reply] at August 01, 2002, 07:33:33 AM
You can browse the MSDN on http://msdn.microsoft.com/, or if you have an MSDN CD with VB6, you can install the MSDN collection and browse it off your computer.
I'm not sure about this, 'cause I'm not at my computer to check it, but I think you just have to draw it on your form, then set your initial values and such. In code it would be something like ProgressBar1.Max = 100 ProgressBar1.Min = 1 ProgressBar1.Value = 50 This should set the progress bar to 50%
Posted by Cortez [send private reply] at August 02, 2002, 10:22:58 AM
Well, thanks a lot. I too am not at my comp to check, but I think this'll work.
Register as a new user | |||||||