>I received this code two weeks ago to center my image on my form.
>
>ThisForm.Image.Left=(ThisForm.Width-ThisForm.Image.Width)/2
>ThisForm.Image.Top=(ThisForm.Height-ThisForm.Image.Height)/2
>
>The image is centered in 800*600 but is not centered in 640*480.
Sorry, my mistake. I have found the problem.