Hey guys.

Can you all help me out on this one?

I have a program that copies the contents of a file to another file but rearranges them (to mimic tables in a database). The more items there are in the original file, (obviously) the longer this takes.

So, I decided to time the event. I wanted the timer to be on the form at runtime. So, I added the timer to the form with a text box. When the command button to start this procedure, the first line is Timer2.Enabled = True.

The timer's routine is only to add one to the integer every second and then display the value in the text box.

So simple, right? Well, it doesn't work. The integer's Dim statement is in the General Declarations. And to be certain, I removed all functions from the original procedure except the timer event and, naturally, it works.

SO, the problem is, once the program starts copying the file information, it stops running the timer, and I don't know how to fix this.

I originally supposed some kind of DoEvents commmand, but I still haven't figured out what should be a pretty simple fix.

Any ideas?

Thanks.