First, you need an image that has a transparent color, that way, when applying the mask it will make the transparent color area as really transparent.
I'm assuming you are talking about Visual Basic 6 (and not Visual Basic.NET - otherwise you would have specified that).
In that case, you can take a look at this code, which should give you a good example of how to accomplish that.