I have a VB.Net console application that issues an Icon.Save command to a memory stream. I defined a Scheduled task to process it. I issue start and stop commands from the Scheduled Tasks menu.
When I issue the end task, the status on the Scheduled Task display goes from "Running" to blank. However, from the Task Manager display the process is still there. The main task is still running; I put an Event log display in to verify it.
The problem occurs on 2 XP/Pro SP 2 (current) machines. A W/2000 server machine does not have the problem. The code was compiled with VS 2003. Here is a sample program to illustrate:
Dim Thr1 As Thread
Dim stream As New MemoryStream
Dim tIcon As New Icon("C:\Mike\OffStor\Icons\BackupSet\BackupSet.ico")
Thr1 = New Thread(AddressOf Thr1Sub)
Thr1.IsBackground = False
Private Sub Thr1Sub()