Hi! I'm writing an application in VB.NET for drawing. The problem is, that when I try to draw in freehand, it allows me to draw one thing, then when I lift my mouse and go to draw another thing, i get an Out of Memory Exception. Any help would really be appreciated. Thanks.

OutOfMemoryException is thrown when there is not enough memory to continue the execution of a program. So avoid unwanted usage of memory.

Oh, right, thanks. I'll try reducing the memory used a bit.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.