Hi Bruce
When I try to divide the picturebox1 paint to additional subroutine by writing the following code in the module
Friend e As System.Windows.Forms.PaintEventArgs
Initialization exception happened.
And when I make my program divided into two programs, my problem is solved and I have not stack over flow exception.
So stack over flow exception happened because long code in picture box paint.
Kind Regards,
Hany Metry