I'm trying to create a screen saver using VB 6.0 I found a template VB file that has helped me greatly. But I'm having trouble getting the PrevInstance property to work. Everytime the screen saver exectues, it creates about 30-40 copies of itself. The documentation from Microsoft isn't very helpful in where this code needs to be placed and called from. I have it in a basic module, but it mentions a form load event?

any help would be appreciated.