Visual Basic Online Course How to change the ProgressBar colors by code Progressbar The ProgressBar control in Visual Basic 6.0 is replaced by the Windows Forms ProgressBar control in Visual Basic 2005. The names of some properties, methods, events, and constants are different, and in some cases there are differences in behavior. Conceptual Differences Negotiate Property In Visual Basic 6.0 , the Negotiate property of a ProgressBar control can be used to automatically hide the control when a toolbar is displayed. The Visual Basic 2005 ProgressBar control does not have a Negotiate property; you can achieve the same effect by setting the Visible property to false at run time. Orientation Property In VB 6 , a Progress Bar control can be displayed either horizontally or vertically by setting the Orientation property. The Visual Basic 2005 ProgressBar control can only be displayed horizontally. Create New (Module) Then in the form_load