I have a threading that goes on forever so even when I close the application, it still remains in the memory.

I've tried
VB Code:
  1. Private Sub Form1_Closing(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles MyBase.Closing
  2.         Dim f As New Threading.Thread(AddressOf NewTime)
  3.         If f.IsAlive = True Then
  4.             MsgBox("thread f is alive")
  5.         ElseIf f.IsAlive = False Then
  6.             MsgBox("thread f is not alive")
  7.             f.Abort()
  8.         End If
  9.     End Sub
but it didn't work because it said that the thread was not alive.

So I guess I'll have to somehow refer to my existing dimmed thread... but how would I do that?

Thanks.