I want to convert my simple program to vb.net but some graphic code can't be converted. The code is get the pixel from image inside picture box and copy the pixel to another picture box.
The code is:
For x=1 to picbox1.width / 2
For y=1 to picturebox1.height / 2
picbox2.Pset(x,y), picbox1.Point(x,y)
next y
next x

This code work in vb 6 but it not work in vb,net. Can any one help me to solve this problem by how to write the code in vb.net.
Thanks