chidambaram
Well-known member
hi,
I am working in VB.NET 2003 (.NET framework 1.1)
In my program i am using two threads.
I start a thread for first time by thread1.start()
But after some coding line i want to stop the thread and again i want to start the thread newly..
how can i make a program ?
my code is
thread1.start()
' Some code
thread1.abort()
' Some code
thread1.resume()
but the progrma give error as
Thread is running or terminated, but it cannot be restart
thanks in advance
I am working in VB.NET 2003 (.NET framework 1.1)
In my program i am using two threads.
I start a thread for first time by thread1.start()
But after some coding line i want to stop the thread and again i want to start the thread newly..
how can i make a program ?
my code is
thread1.start()
' Some code
thread1.abort()
' Some code
thread1.resume()
but the progrma give error as
Thread is running or terminated, but it cannot be restart
thanks in advance