There is nothing in the code that would account for your terminal server session crashing. That said, I can't see the point of having all that commented-out code; it just adds clutter.
PS: When posting code, please use the code tags, indicated by the # button on the posting menu.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|