N
Nick
Hi there,
This one is really doing my head in, I am attempting to start a thread
using the following code,
--------------------
Public Sub start()
cTrdImportThread = New Threading.Thread(AddressOf
cTrdImportThread_Callback)
With cTrdImportThread
.Name = Tiger_AssemblyInfo.assemblyRootNamespace &
".PowerPointImporter"
.IsBackground = False
End With
Try
Call cTrdImportThread.Start()
Catch ex As Exception
MessageBox.Show(ex.ToString)
End Try
MessageBox.Show("Thread started!, state = " &
cTrdImportThread.ThreadState.ToString & ".")
End Sub
Private Sub cTrdImportThread_Callback()
MessageBox.Show("Hello??")
End Sub
--------------------
Even though no exception is raised when calling "Start" the thread never
starts, the message box at the end of the start routine states that the
thread is unstarted. It's as if the object does nothing what so ever. Any
ideas on why this is happening?? It has only started happening recently but
I'm unsure as to why.
Thanks loads for your help in advance!!
This one is really doing my head in, I am attempting to start a thread
using the following code,
--------------------
Public Sub start()
cTrdImportThread = New Threading.Thread(AddressOf
cTrdImportThread_Callback)
With cTrdImportThread
.Name = Tiger_AssemblyInfo.assemblyRootNamespace &
".PowerPointImporter"
.IsBackground = False
End With
Try
Call cTrdImportThread.Start()
Catch ex As Exception
MessageBox.Show(ex.ToString)
End Try
MessageBox.Show("Thread started!, state = " &
cTrdImportThread.ThreadState.ToString & ".")
End Sub
Private Sub cTrdImportThread_Callback()
MessageBox.Show("Hello??")
End Sub
--------------------
Even though no exception is raised when calling "Start" the thread never
starts, the message box at the end of the start routine states that the
thread is unstarted. It's as if the object does nothing what so ever. Any
ideas on why this is happening?? It has only started happening recently but
I'm unsure as to why.
Thanks loads for your help in advance!!