Program Acting Jittery All of A Sudden

Austin Althouse 26 Reputation points
2023-04-10T00:04:29.3333333+00:00

Hello, I have an application that has started acting jittery. For example, the ticker crawl isn't ticking across the screen smoothly. It will for like two seconds and then it will jitter. I had a animated radar GIF file that plays and the whole program would go freeze, go freeze as the radar animation was going and my app didn't do that before. Here is the code for my crawl:

AlertCrawlTimer.Interval = 1 'Sets the interval of the Timer speed
        AlertCrawlLabel.Left = AlertCrawlLabel.Left - 3 'How much pixel will be deducted to the left of the control
        If AlertCrawlLabel.Left < 0 - AlertCrawlLabel.Width Then 'Loops the strings back to right
            AlertCrawlLabel.Left = Width '^

            'Section for anything that needs to happen when crawl goes back to the beginning of message.
            If AlertPanel.Visible = True Then
                Task.Run(AddressOf AlertToneandVoice)
            End If
        End If

How can I make my app less jittery and run more smoothly. To my knowledge, this jitteriness happens even if the app is not actively pulling weather data.

Developer technologies | .NET | Other
Developer technologies | VB
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.