>1) go get this .ZIP file from here: > >http://download.com.com/3000-2401-889219.html?tag=lst-0-1 > >2) unzip the .EXE and regsvr32 the associated .DLL > >regsvr32.exe ccrpTmr.dll > >3) Build the following code as a MTDLL: > > >4) Instantiate the class: > >oCom = CREATEOBJECT( "TimerTest.TimerTest" ) > >That's it! Your timer events will now function correctly in a VFP MTDLL. > >One final thing to remember. Before you release the object >(in the case of above, oCom) you must set the enabled property >of the timer control to .F. like this: > >oCom.oTimerControl.Enabled = .F. > >Otherwise VFP will crash with a C00005 error. >>>Claude - Thanks so much for posting that code. A few years back I had considered a server "write-back-to-client-event" using timer (and COMRETURNERROR) - but my understanding [then] was that a timer object could not be contained in an OLEPUBLIC COM.