Hi
How can I delete a file after using it by drawimage ?
The following example does not run because test1.jpg is in use, even though the form is already drawn with test2.jpg
I'm sure it must be a simple answer but I can't find it...
Thanks
How can I delete a file after using it by drawimage ?
The following example does not run because test1.jpg is in use, even though the form is already drawn with test2.jpg
B4X:
Sub App_Start
Form1.Show
form1.DrawImage("test1.jpg",0,0)
form1.DrawImage("test2.jpg",0,0)
FileDel("test1.jpg")
End Sub
Thanks