Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Change Cursor to Hourglass from a Class

Posted on 2011-05-08
2
Medium Priority
?
908 Views
Last Modified: 2012-05-11
I have a windows forms project that has all of it's db access handled from a seperate class library.  I would like to change the applications cursor to the hourglass cursor any time db access is performed.  Is there an easy way to do this from the class library?  Thanks for any help.
0
Comment
Question by:rcblevins
2 Comments
 
LVL 15

Accepted Solution

by:
x77 earned 2000 total points
ID: 35716526
Try:

    Application.UseWaitCursor = True
    ...... Db.Update
    Application.UseWaitCursor = False



   
0
 

Author Comment

by:rcblevins
ID: 35716635
Thanks.  That seems to have done the trick.
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I will demonstrate that how to do a PST migration from Exchange Server to Office 365. This method allows importing one single PST, or multiple PST's at once.
There are literally thousands of Exchange recovery applications out there. So how do you end up picking one that’s ideal for your business & purpose? By carefully scouting the product’s features, the benefits it offers you, & reading ample reviews f…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Suggested Courses
Course of the Month14 days, 7 hours left to enroll

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question