Azurewrath

Hi all,

Anyone knows how to do this




Thanks alot,
Aw


Re: Visual C# General Invoking a method after certain time, without using a timer

Peter Ritchie

Can you be more specific. What do you mean by "invoking a driver", and what is wrong with using a timer for timed processing






Re: Visual C# General Invoking a method after certain time, without using a timer

Azurewrath

Sorry seems like I am out of my mind, I meant to say invoking a method Smile

I can't use timer because I want to compile as dll.




Thanks,
Aw




Re: Visual C# General Invoking a method after certain time, without using a timer

JohnWein

What prevents you from using a timer in a dll





Re: Visual C# General Invoking a method after certain time, without using a timer

IsshouFuuraibou

Which timer are you using, you do realize there are three (two ) timers:

there's
System.Windows.Form.Timer that is a form component,
there's
System.Timers.Timer that is just a timer and is not tied to a form
there's also
System.Threading.Timer that is similar to the System.Timers.Timer

You could do something with a Defered Process Queue or something of that ilk, but a timer (and not a windows form timer) is your best bet.

However there really isn't anything preventing you from using a windows form timer in a dll, it's just that the restriction of needing a form/application queue to manage the timer that you'll likely face. System.Timers.Timer does not have this restriction.





Re: Visual C# General Invoking a method after certain time, without using a timer

Azurewrath

Thanks guys. I didn't know that.

This will solve my problem.




Thanks again,
Aw