troubleshooting Question

view hourglass with UseWaitCursor

Avatar of PiedBird
PiedBird asked on
Visual Basic.NET
8 Comments2 Solutions1010 ViewsLast Modified:
Hi
using code: Me.UseWaitCursor = true
I can set the mouse pointer on my form to an hourglass. I run this code on a CheckedChanged event of a checkbox. The problem is the hourglass doesn't appear on my screen until all the code in this procedure is finished (the code goes on to try opening a serial port). How do I ensure the hourglass is viewed on my form before the remaining code in the procedure runs?
Thanks
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 2 Answers and 8 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros