I use the following code to dynamically load some picture boxes into my form.
For i = 1 To .RecordCount - 1
Load Application_Screenshot(i)
next i
This event occurs when a user clicks on a listview line.
It works OK for the first time, but after another click i get a Run time error '360' Object already loaded.
How can i UNLOAD all this picture boxes only if they are already loaded?
For i = 1 To .RecordCount - 1
Load Application_Screenshot(i)
next i
This event occurs when a user clicks on a listview line.
It works OK for the first time, but after another click i get a Run time error '360' Object already loaded.
How can i UNLOAD all this picture boxes only if they are already loaded?