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
Adding a HDD in lunux Ent
Perl one liner to read from file
Why could the man eat meat after flood?
iPhone, how do I correctly pass data model object data between various view controllers without breaking MVC?
WDSServer service will not start
Records In 14 days Date Range
Cut-off point for too much memory use
Windows updates issue
ACT! 2010 and Sage Line 50
SNMP Encrypted Key - CISCO ASA