Microsoft
Software
Hardware
Network
Question : Form Label Updates Not Working Properly
I'm trying to update a label I've placed in the status bar of my form. I'll place an update to the status label at the beginning of a Sub corresponding to a button push, and the update won't be seen. When the Sub is finished, I update the label again. This update at the end of the sub is seen on screen. I'm just baffled as to why the update at the beginning of the Sub isn't seen.
The Sub in question runs for about 4 seconds, so the run duration isn't short enough not to see the update.
I update like this:
1:
StatusL.Text = "Setting Up..."
Answer : Form Label Updates Not Working Properly
Try add Doevents:
StatusL.Text = "Setting Up..."
Application.Doevents
.....
Random Solutions
Why can't machines connect with WSUS?
Access - timed backup from a batch file
Jquery and C#
access coding-print single record problem
Exchange Servers across Multiple Domains and One GAL
To clear or not to clear ARP cache
Old 3550 L3 Switch vs brand new 2851 router
clickable column
Internet Explorer 7 not opening
Javascript error in Chrome when setting innerHTML or innerText