Thank you for the information.But i want to use it in a windows 
service program.Actually the problem is my windows service reads a 
database and does some processing on some of its fields.It goes on 
in loop.I find problems while i try to pause or stop the service.It 
takes a long time.I thought of may be DoEvents() will work,but i am 
not sure. 

--- In [email protected], "Luciano Bastianello" 
<[EMAIL PROTECTED]> wrote:
>
> Try 
> System.Windows.Forms.Application.DoEvents(); 
> 
> 
> -------------------------------------------
> Bastianello Luciano - MBS CP Development
> Software Consultant - Apprentice Sorcerer
> http://community.visual-basic.it/LucianoB/
> ------------------------------------------- 
> 
> 
> -----Messaggio originale-----
> Da: [email protected] 
[mailto:[EMAIL PROTECTED] Per conto di Prabodh
> Inviato: mercoledì 3 maggio 2006 18.07
> A: [email protected]
> Oggetto: [Microsofts_C_Sharp] Equivalent of DoEvents() of VB6 in 
C#.net
> 
> hi all
> Please help me ..
> If anybody needs the equivalent of DoEvents() of VB6 in C#.net
> I've a process which reads a DataTable and processes the 
records.It 
> takes a long time to process the data.Meanwhile if i want to stop 
or 
> pause the service it doesn't work out or say it does'nt stop or 
> pause.Please help.
> 
> 
> 
> 
> Chiacchiera con i tuoi amici in tempo reale! 
>  http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com
>






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get to your groups with one click. Know instantly when new email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/XGgtlB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Microsofts_C_Sharp/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to