>Hi,
> I am using Timer function to delay my program to allow user interaction in long process. However, I got a problem that, my program fall in Infinite loop if it is 12:00:00 AM sharp.
> I know what caused this happen. Any way tp workaround this? I tried to use sleep API, but it can't provide doevents to allow user interaction.
Show us some code!!!
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com