Hi,
I have a button on my main Form which will pop up another form called PleaseWaitForm containing a RadWaitingBar.
The problem is I can get the WaitingBar to animate.
I have a button on my main Form which will pop up another form called PleaseWaitForm containing a RadWaitingBar.
The problem is I can get the WaitingBar to animate.
01.Private Sub Btn_ReadFromDB_Click(sender As Object, e As EventArgs) Handles Btn_ReadFromDB.Click02. StatusLabel.Text = ".................."03. Dim pleaseWait As New PleaseWaitForm04. 'pleaseWait.Location = Me.Location05. pleaseWait.StartPosition = FormStartPosition.CenterScreen06. pleaseWait.Show()07. ' Set cursor as hourglass08. Cursor.Current = Cursors.WaitCursor09. PleaseWaitForm.RadWaitingBar.StartWaiting()10. Application.DoEvents()11. 'Read Excel Database12. ReadFromExcel("\Assets\Documents\?????.xls")13. PleaseWaitForm.RadWaitingBar.StopWaiting()14. Cursor.Current = Cursors.Default15. ' Hide the please wait form16. pleaseWait.Hide()17. End Sub