Got to VBNet, click on the "Code Library" link, then in the window that comes up click on "Bitmaps", and the first one is called "Creating Transparent Bitmaps". It gives an example of exactly what you are referring to.

Hope that helps,

~seaweed