G
George
Windows XP, VB.net 2003
Cannot get the progress bar to appear.
I've followed the basic logic shown at:
http://msdn.microsoft.com/library/d.../frlrfsystemwindowsformsprogressbarclasstopic
frmMain.ProgressBar1.Show()
frmMain.ProgressBar1.Maximum = FilesArray.GetUpperBound(0) + 1
frmMain.ProgressBar1.Minimum = 1
frmMain.ProgressBar1.Step = 1
For Fi = 0 To FilesArray.GetUpperBound(0)
File.Copy(FilesArray(Fi), NewFile)
frmMain.ProgressBar1.PerformStep()
Next Fi
The code takes about 30 seconds, but the progressbar does not appear.
Any problem with Windows XP?
Thanks,
George
Cannot get the progress bar to appear.
I've followed the basic logic shown at:
http://msdn.microsoft.com/library/d.../frlrfsystemwindowsformsprogressbarclasstopic
frmMain.ProgressBar1.Show()
frmMain.ProgressBar1.Maximum = FilesArray.GetUpperBound(0) + 1
frmMain.ProgressBar1.Minimum = 1
frmMain.ProgressBar1.Step = 1
For Fi = 0 To FilesArray.GetUpperBound(0)
File.Copy(FilesArray(Fi), NewFile)
frmMain.ProgressBar1.PerformStep()
Next Fi
The code takes about 30 seconds, but the progressbar does not appear.
Any problem with Windows XP?
Thanks,
George