Click to See Complete Forum and Search --> : Permission Denied


Judgey
June 22nd, 2001, 05:47 AM
I am in the process of developing a Exam type Program, one of my question types is a Drag and Drop type question which a User can create by specifying a background Image and then Markers. I store the path to the File in a Access Database and copy the File onto a Server. When a Trainee then gets this question it uses the LOADPICTURE command on a Picture control to buid up the question. This works perfectly if only 1 Trainee is in the question at a time, I get Runtime Error 70 if another trainee trys to do the same question. Can anybody advise, I didn't realise LoadPicture keeps a handle on the File until the form is closed ?

shree
June 22nd, 2001, 09:07 AM
Why don't you just make a temporary copy of the image on the client computer in form load or when the user selects the question? I don't think it will hamper the performance much. And you can delete it in form unload.