File in use!

people! I've got a problem! I use

dotNetControl dropbtn "System.Windows.Forms.Label" pos:[70,4] width:155 height:121
dropbtn.BackgroundImage = (dotNetclass "System.Drawing.image").fromfile (....001.jpg)

and everything is working ok, but when I change the file 001.jpg and try to save it, it sais : cannot save, file in use :(((

how to solve that? It is very important to know!

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
barigazy's picture

:)

Windows not allow that. Why not use image as temp of original (copy) file and live original unused

bga

barigazy's picture

Save it as different name or

Save it as different name or destroy dialog and then try to save. Also if you use global variable for rollout then you need to make sure to set it as undefined

bga

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.