I have an application that takes quite long to save the data as it has to write over intranet. I want to run an animation showing that saving is in progress. How to do it? Any code examples?
Thanks Furqan
I have an application that takes quite long to save the data as it has to write over intranet. I want to run an animation showing that saving is in progress. How to do it? Any code examples?
Thanks Furqan
Try to use Tasks:
Imports System.Threading.Tasks
...
Dim task As New Task(Save, Nothing)
task.ContinueWith(StopAnimation)
StartAnimation()
task.Start()
Where Save, StartAnimation and StopAnimation is your actions/methods.