You need multithreading!
Thread.Sleep() on the thread you want to pause
Multithreading is a pretty complicated thing. Do some reading on
multithreading and that should point you in the right direction.
Michael
"Peter B Rasmussen" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Thanks for the answer.
>
> But i need a way to pause the process but still have the service
application
> running timers and stuff. Thats is my problem.
>
> The program does not need an application frontend.
>
> Thanks in advance
>
> /Peter
>
>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (
http://www.grisoft.com).
Version: 6.0.538 / Virus Database: 333 - Release Date: 11/10/2003