OutofMemoryException

I am getting an "OutofMemoryException" when testing my application.

I suspect that the problem is the way that I am saving and loading images.

Dim PictureBoxImageAs Bitmap
PictureBoxImage.Save(
"PictureBoxImage.emf", System.Drawing.Imaging.ImageFormat.Emf)PictureBox.Load("PictureBoxImage.emf")
PictureBoxImage = PictureBox.Image

The images are only 300x600.

[758 byte] By [furjaw] at [2007-12-25]