>>In my code it always happend when you had a CD in the CD drive, and after you put out the CD, the IF DIRECTORY("D") code would raise the error. When you put the CD back in, then the programs work again.
>
>That's a good data. My client's PC had to be fixed one month ago. Although I re installed the same version of my system after that there was a CD with "My Documents" which were saved by the technician. Now I think CD was put out as you say.
>
>Now I must say the girl who works there she must live for ever with that CD... :)
>
>Thank you very much.
>
> Héctor
Or she can also restart the computer, if she wants to get rid of that CD...
Christian Isberner
Software Consultant