Hmmm...it's a copy-and-paste directly from a new project in which it works for me. Some API's work differently on different OS's. I'm in Win NT, using VB6 SP4.