I have a process that takes a fair while to complete. I have put a cancel button on the form which has the progress bar for the process. Then basically throughout the process, I check to see if the cancel button has been clicked by refreshing the button and calling a doevents. Clicking on the cancel button sets a property on the form that my process looks for. The problem I have is that the doevents takes ages. Is there a better way of doing this?
Ladyhawk.![[idea] [idea] [idea]](/data/assets/smilies/idea.gif)
** ASP/VB/Java Programmer **
Ladyhawk.
![[idea] [idea] [idea]](/data/assets/smilies/idea.gif)
** ASP/VB/Java Programmer **