How to kill a Thread in Visual Basic?? 
Author Message
 How to kill a Thread in Visual Basic??

Hi Guys,

I am working on Multi-Threaded Application in Visual Basic.I am using a
Third Party Control Desaware NTServiceToolkit to create  Process and
subsequently Threads.

When i view Windows 2000 Performance Monitor i come accross 18
Threads.(Starts with 8 threads and goes upto 17 -18 Threads-Done by my
application).

The point is to Kill these threads.

I am doing Set oThread=Nothing to kill the Thread(where oThread is a running
Thread).

which doesn't kill the thread when i view Windows 2000 Performance Monitor.

I would like to kill the Thread by Third Party Control Desaware
NTServiceToolkit or either by Windows API's.

Send me links to support these feature.

Thanxs in Advance.

Regards,

Smithesh Kollara



Tue, 23 Nov 2004 13:42:57 GMT  
 How to kill a Thread in Visual Basic??
Smithesh,

Take a look at

http://groups.google.com/advanced_group_search?q=group:microsoft.publ...
&hl=en&safe=off&num=50

and search for "kill threads"

You will find several discussions and examples.

--
HTH,

Justin

Unless one is willing to risk making a fool of themselves, one can not
learn.


Quote:
> Hi Guys,

> I am working on Multi-Threaded Application in Visual Basic.I am using a
> Third Party Control Desaware NTServiceToolkit to create  Process and
> subsequently Threads.

> When i view Windows 2000 Performance Monitor i come accross 18
> Threads.(Starts with 8 threads and goes upto 17 -18 Threads-Done by my
> application).

> The point is to Kill these threads.

> I am doing Set oThread=Nothing to kill the Thread(where oThread is a
running
> Thread).

> which doesn't kill the thread when i view Windows 2000 Performance
Monitor.

> I would like to kill the Thread by Third Party Control Desaware
> NTServiceToolkit or either by Windows API's.

> Send me links to support these feature.

> Thanxs in Advance.

> Regards,

> Smithesh Kollara



Tue, 23 Nov 2004 20:53:44 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Visual Basic 6 Development Environment - Thread killed on compiling

2. kill a process from visual basic

3. Visual Basic 5: Kill process

4. Start and kill an application behind Visual Basic

5. !HELP - Listing and Killing processes and programs in Visual Basic

6. Visual Basic 5 service pack...killed my VB5 enterprise

7. Enhancing Visual Basic Speed (Super Thread)

8. Visual Basic 5.0 Multi-Threaded?

9. No threads in Visual Basic ?

10. Threads in Visual Basic 4.0

11. Threads with Visual Basic 4.0

12. Visual Basic 6.0 Threads

 

 
Powered by phpBB® Forum Software