The first sub calls LoadRaceTimer without a problem. The second results in a "object reference not set to an instance of an object" error. I can't for the life of me figure out why. All three are in "Public Class MainScreen". Any help is appreciated.
VB.NET:
Private Sub SessionsBrowser_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles SessionsBrowser.DocumentCompleted
...
LoadRaceTimer()
...
End Sub
VB.NET:
Private Sub ButtonRefreshSessions_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButtonRefreshSessions.Click
...
LoadRaceTimer()
...
End Sub
VB.NET:
Public Sub LoadRaceTimer()
...
End Sub