Call Multithreaded Sub from Timer
- From: <msnews.microsoft.com>
- Date: Mon, 4 Dec 2006 17:48:33 -0500
Is it possible to have just a multithreaded sub procedure? What I need is a timer time_elapsed event (2 sec interval) send params to a sub that is multithreaded. I have a COM component used to send messages,faxes, etc.. The COM com component is licensed for 6 ports. I have an app that need to send messages/faxes very frequently (seconds) and to many, many people. What I want to do is have a sub that has 6 threads to send thse messages when a timer (2 sec interval) gets data (fax numbers, etc.) from a db then calls that multithreaded sub. If a port in the sub/com component is in use the multithreading will use the other remaining poers (5 in this case). Any thoughts would be greatly appreciated. I know I've posted simillar questions before, however, I think this new approach to accomplishing this task is somewhat different. I'd appreciate the thoughts. Thanks a lot.
Jay
.
- Follow-Ups:
- Re: Call Multithreaded Sub from Timer
- From: Robert Dufour
- Re: Call Multithreaded Sub from Timer
- From: Cor Ligthert [MVP]
- Re: Call Multithreaded Sub from Timer
- Prev by Date: Re: Query Problems
- Next by Date: Re: Visual Basic to be discontinued in 2008??
- Previous by thread: Re: Visual Basic to be discontinued in 2008??
- Next by thread: Re: Call Multithreaded Sub from Timer
- Index(es):