Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.
Dim processAccRunXref As Threading.Thread ' START THE TIMER HERE. STARTING A NEW THREAD TO KEEP TIMERS FREE FROM PROGRAM THREAD Me.ProgressBar1.Visible = True Me.Label15.Visible = True Me.TextBox4.Visible = True processAccRunXref = New Thread(AddressOf MarqueeProgress) processAccRunXref.Start() Public Sub MarqueeProgress() ' Dim strText As String RunProgress = Not RunProgress ' On Error Resume Next Do While RunProgress With ProgressBar1 If .Value = .Maximum Then .Value = .Minimum Else .Value += 1 <---------- ERROR Cross-thread operation not valid: Control'ProgressBar1' accessed from a thread other than the thread it was created on. End If Threading.Thread.Sleep(10) System.Windows.Forms.Application.DoEvents() End With Loop 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.