Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.
'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.
|How to open a different table using the same bindingsource - vb.net||3||64|
|vb.net deleting excel sheet in workbook||11||35|
|VB.net Filesystem watcher not working||5||38|
|VB.Net Data Class||1||22|