Solved

Show progressbar while executing  a process ?

Posted on 1998-07-13
2
187 Views
Last Modified: 2010-05-03
My question is how do i show the progressbar while i am doing something else like calling a function which is keep looping until it funish the process. I want the progressbar be able to show status of process like the value of progressbar keep increasing until the process is done.
0
Comment
Question by:netcool
2 Comments
 

Expert Comment

by:peterprice
ID: 1465542
Try Do Events to allow other rasks to execute
0
 
LVL 2

Accepted Solution

by:
Jagar earned 10 total points
ID: 1465543
You have to update the Progressbar during the loop, ie

for p = 1 to 100
  'blah your code here
  progressbar1.vlaue = p
next p
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now