Click to See Complete Forum and Search --> : Multithreading A Timer


softweng
April 2nd, 2001, 01:44 PM
Can you multithread a timer in VB?
If so can anyone tell me how to do this
or provide some sample code?
Thanks in advance!

cksiow
April 2nd, 2001, 08:28 PM
so far, I don't think vb support multithread until next version as we all know. however, you can create an activeX which contain a timer and raise an event when the timer trigger. you can program the activeX in vc which support multithreading and raise an event where vb can capture it.

hope this help.

cksiow
http://vblib.virtualave.net - share our codes

John G Duffy
April 3rd, 2001, 10:23 AM
There is a recent offering on Http://Planet-Source-Code.com/vb that is supposed to show how to Multi-Thread using VB. Haven't tried it but it gets a very high rating from people that have. Can't get its actual address or name because PSC.com is broke right now. You might try searching o Multi-Threading or the like. Maybe look in recent postings or Newest/ Best categories

John G

pranavsharma
May 2nd, 2005, 06:51 AM
I Think VB doesnt support that.

U can use VC++ AfxBeginThread() to implement same very easily.

Regards
PS
arianpranav@hotmail.com