Hi, I am using multithreading and I have to create some threads inside a thread. Is that possible ? I have tried but I'm getting an error. Here is a part of my code.
Public class ProcessNewFile
Public Sub Go
Dim I, Answer(2) as integer
Dim objSendIt(2) as integer
For I = 0 to 2
Answer(I) = New Threading.Thread(AddressOf Me.SendIt)
Public Function SendIt() as integer
I am then calling a new thread starting the sub Go from my main process. But for the line when I create the thread inside the thread, its giving me the error: Method 'Public Function SendIt() As Integer' does not have the same signature as delegate 'Delegate Sub ThreadStart()'.
Any idea ???