Not sure on the laws off it, but just save the resource as bmp and compile it into a *.ico file - and its yours