I've recently been assigned to a project using exclusively VB and ASP. Amoung my tasks, I'm to help certify this program for use under W2K.

I apologize for not being the worlds biggest VB fan, but I have a problem, and thought maybe someone could point me in the right direction.

They are using CreateMaskImage to create a mask of a bmp to overlay on a colored picture box. CreateMaskImage was gleened from a forum like this aparently, and is simply making calls into GDI32 to create the mask. Once the program has the mask, it uses a couple of PictureBox.PaintPicture steps to fit the bmp onto the colored box.

This works just fine under NT. It doesn't work under W2K.

I am looking for the reason, and a work around. The work around is more important, since I can sleep at night with out knowing why. But I want to know what has changed between the two OSes to cause this. Is there something different in GDI32, or in the way W2K handles Blt's?

We would appreciate any guidance and reference you can offer.