the code I posted earlier in this thread works fine on NT and win2k, have not tested on xp, but I assume there won't be any problems there either.