Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Refresh page while running in a loop

Status
Not open for further replies.

bassguy

Programmer
Jun 21, 2001
336
US
Hello all,

I have seen the command used but cannot remember what it is exactely.

I am running through a list of files with a do loop and want to display the current file in a label as it is being processed.

I have all of the code correct but the label is notupdated until the do loop ends, so I only see the last record.

I know there is a command that tells the computer to "check for leftovers" and complete them but I do not know it ...


anyone know what I am looking for?

Thanks

Bassguy
 
Found it


System.Windows.Forms.Application.DoEvents()

thx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top