Been trying this for 2 hours now. Have a slideshow, and am replacing a messagedialog over each slide with an image canvas to make it look better. If you leave the info-canvas open it conflicts with the screensaver in that pressing a button to end the screensaver doesnt clear the screensaver, and shows the info-canvas - ugly. I tried closing the canvas in the screensaver function with a .Close() and with a separate function but it didnt seem to want to do that. So - i figure I'll put a close on the canvas with a sleep() timer. But i cant figure out where to put it where it doesnt stop something else from working. Have tried in the loop, out of the loop before and after, in its own loop, in a while inside the other while. Perhaps someone could point out where it ought to go. i'd sure appreciate it.
Function InfoCanvas(slideshow, infotype As Integer, curr_photo As Object, icanvas)
Thanks for replying Joel, the short answer is that I've been developing for all of two months now and the idea of building a slideshow from scratch is a little beyond me and considering you all have provided us with slideshow component and I'm not unhappy with it, it doesn't seem necessary. If you'd like to take a stab a how i can close that canvas layer after some minutes without screwing up the other functions, or even better why i cant close it from the screensaver functions even though the right variable is present i'd be grateful.