Microsoft KB Archive/254478

= Use the ActiveX Progress Bar OCX Control =

Article ID: 254478

Article Last Modified on 8/5/2004

-

APPLIES TO


 * Microsoft Visual FoxPro 6.0 Professional Edition

-



This article was previously published under Q254478



SUMMARY
Progbar.exe is a sample that provides Visual FoxPro code to control and use the ProgressBar control (Mscomctl.ocx) in a form.



MORE INFORMATION
The following file is available for download from the Microsoft Download Center:

Progbar.exe

Release Date: Apr-26-2000

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.

This form demonstrates how to use the ProgressBar control. The code examples provided in the ProgressBar Help file are all written in Microsoft Visual Basic. This example translates the Visual Basic code into Visual FoxPro code. The essential functionality of the examples is not changed, but some additional code is added to more clearly demonstrate certain functionality.

To run the form, do the following:
 * 1) Download the self-extracting executable file and expand the Progbar form and Readme.txt files.
 * 2) Run the form.
 * 3) Click the Run Example command button. The segmented ProgressBar appears horizontally across the top to the form.
 * 4) Click the Toggle Scrolling button to change the Scrolling property to Smooth, and click the Run Example command button again.
 * 5) Click the Change Orientation button and then click the Run Example command button. Note that the ProgressBar now appears along the left-hand side of the form.
 * 6) Click the Toggle Scrolling button and then click the Run Example command button. Note that the ProgressBar now appears along the left-hand side of the form, but it appears segmented.
 * 7) Click Exit to close the form.

Additional query words: Progbar

Keywords: kbdownload kbcontainer kbfile kbctrl KB254478

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.