[code] DIM tPictureToUseAsIcon As Picture = YOUR_IMAGE_HERE // this is the image file to use
DIM tWidth As Integer = tPictureToUseAsIcon.Width // the width
DIM tHeight As Integer = tPictureToUseAsIcon.Height // the height
DIM tIcon As NEW Picture(tWidth, tHeight) // create a new picture object the same size as the imae
tIcon.Graphics.Transparency = 50.0 // control the transparency for drawing the image to the new picture object
tIcon.Graphics.DrawPicture tPictureToUseAsIcon, 0, 0 // draw the image to the new picture object