Visual Basic can't create a persistent bitmap for automatic redraw of the form or picture. This error has the following cause and solution:
Set the AutoRedraw property to False and perform your own redraw in the Paint event procedure, or make the PictureBox control or Form object smaller and try the operation again with AutoRedraw set to True.