well...I'm using a VB-like app, but the code I posted above will work in VBS. I'm borrowing the source from a friend who has used it in VBS.