Hi llDayo, I doubt if your hardware is to blame. It's worth bearing in mind anyway that the graphics subsystem tends to throw OOM exceptions even when there is plenty of system memory to spare. It can happen when you try to load an image of unrecognized format into a picture box, although that doesn't apply to the present case. Don't give up, but you should post your new code.

By the way, I don't recall helping you before. Were you posting under another name or is that my personal OOM condition? On the whole I agree with minitech's approach. I prefer to use only the graphics object provided by the Paint event (e.Graphics), and I avoid passing it to another sub except for something trivial like repeatedly drawing a filled circle.

edit: aargh! only just saw minitech's last post.

BB