WelshyWizard
IS-IT--Management
Hi all,
I have the following test code running on a windows form, simply to show the users a progress bar in action. As the progress bar rises, I want the label to display a different message:
and so on...
However, although my progress bar is increasing, my label is not changing to the required text. Does anyone have any ideas as to why this would be happening?
Cheers
Today is the tomorrow you worried about yesterday - and all is well.....
I have the following test code running on a windows form, simply to show the users a progress bar in action. As the progress bar rises, I want the label to display a different message:
Code:
Label1.Text = "Copying Text File"
ProgressBar1.Value += 5
Sleep(5000)
Label1.Text = "Establishing Database Connection"
ProgressBar1.Value += 5
Sleep(5000)
Label1.Text = "Initialising Import"
ProgressBar1.Value += 5
Sleep(5000)
and so on...
However, although my progress bar is increasing, my label is not changing to the required text. Does anyone have any ideas as to why this would be happening?
Cheers
Today is the tomorrow you worried about yesterday - and all is well.....