The new vbAccelerator Site - more VB and .NET Code and Controls
Source Code
2 Common Controls Library &nbsp


 NOTE: this code has been superceded by the version at the new site.



&nbsp

Progress Bar Control

[UpDown Control]

Download the Progress Bar Control with source (33kb)

Your license to the code - what you can do

This Progress Bar control is a lightweight (27kb) replacement control for VB's ProgressBar control provided as part of Microsoft Windows Common Controls OCX. It shows how to implement an Progress Bar control entirely in VB utilising COMCTL32.DLL.

A particularly neat bit of this sample demonstrates how to create a colour picker using an OLE Property page (like the one you choose colours with in COMCTL32.OCX or the OLE_COLOR property picker for a user control) and use it from a VB form. The code is very small and it provides a quick and elegant method of choosing back and fore colours.




TopBack to top

Source Code - What We're About!Back to Source Code

&nbsp
 

About  Contribute  Send Feedback  Privacy

Copyright © 1998-1999, Steve McMahon ( steve@vbaccelerator.com). All Rights Reserved.
Last updated: 22 November 1998