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
---

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: https://leafe.com/archives
This message: 
https://leafe.com/archives/byMID/002a01d8478c$5a717c50$0f5474f0$@gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to