Hi all
I have an image control whose Picture property is a temporary BMP (say Temp1.BMP). I am trying to redisplay the image control with a new Picture property of Temp2.BMP or with a modified Temp1.BMP
Using GDIPlusX, I am creating the BMPs with the BitMap.Save method. Once I have used Temp1.BMP as the picture and later trying to use BitMap.Save again to overwrite Temp1.BMP, the changes are not saved (no error though)
So I used BitMap.Save to create Temp2.BMP, set Temp2.BMP as the picture (which worked fine) and then tried to delete Temp1.BMP. Again this failed (file in use or similar).
I tried Clear Resource Temp1.BMP before Erase Temp1.BMP but that didn't work either.
Any suggestions would be welcome.
Many thanks
Paul Newton
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html ---