How Do You Create A Progress Bar Code For A Search Database?

1

1 Answers

Akshay Kalbag Profile
Akshay Kalbag answered
In order to create a progress bar code for a search database, you first need to have a basic knowledge of the Visual Basic programming language and then install the Microsoft Visual Basic 6.0 development environment onto your computer.

Firstly you need to create a label. A label is a simple Visual Basic control. It is a graphical lightweight control. There are two types of labels, namely lblBack and lblFace. Then you have to set the properties of Appearance (0-flat), BorderStyle (1-Fixed Single), Font, BackColour, ForeColour, etc.

The next step is to create some form level variables (such as m_iMin, m_iValue, m_iMaxValue and m_sWidth), the initialisation code (that is, the InitProgress sub-procedure, which takes two ByVal arguments), save the progress bar control width value and the minimum range value, calculate the maximal progress bar counter value (the minimal counter value is 1) and the SetProgress sub-procedure (which takes one ByVal argument).

Answer Question

Anonymous