Hi Lalit
I would suggest that if your class is not a form, i.e. does not have its own
user interface, then you possibly should not be setting the cursor. Consider
raising an event (Waiting, say) to notify the owner of the class object that
something has happened that requires the user to be informed of a delay. The
owner, presumably a form with a user interface, can then set the cursor.
When the task is complete, raise another event (Waited, say) and the parent
can reset the cursor.
HTH
Charles