PeopleSoft Adoption Made Smooth & Simple!
On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool. Claim Your Free WalkMe Account Now
'In my code waitgifimg(Left, Top) 'In Form1 Class somewhere AddHandler wrkDeploy.DoWork, AddressOf wrk_DoWork AddHandler wrkDeploy.RunWorkerCompleted, AddressOf wrk_RunWorkerCompleted Private wrkDeploy As New BackgroundWorker() Private Sub wrk_RunWorkerCompleted(ByVal sender As Object, ByVal e As RunWorkerCompletedEventArgs) ' Hide Gif and start normal UI process again WaitGif.Visible = False End Sub Private Sub wrk_DoWork(ByVal sender As Object, ByVal e As DoWorkEventArgs) ' Do all heavy work here Dim myobj as New MyClass() End Sub Private Sub waitgifimg(ByVal left As Integer, ByVal top As Integer) ' Show GIF and disable whatever you need to WaitGif.left = left WaitgGif.top = top WaitGif.Visible = True wrkDeploy.RunWorkerAsync() End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.