help wanted - releasing resource from being used

Graphen

New member
Joined
Jan 26, 2010
Messages
2
Programming Experience
1-3
hi, im currently developing a program, and i have run into some trouble: you see i have 24 pictures shown in 6 pictureforms (timer) the problem is i wanna delete the pictures in an undo function (after taking them from a webcam), but the system tells me that the pictures is currently in use. i have tried disposing them and everything but i cant seem to get them released and then deleted - please help

Graphen
 
It sounds like a StreamReader or Filestream was not disposed of and it is still holding the file. Just a guess, there is not a lot of info to diagnosis this problem. What would help; how did you load the pictures, how are you deleting them, etc...
 
Back
Top