<p>I am trying to center a form in VB.net. Instead of centering the form, it ends up about halfway between center and 0,0(upper left). </p>

<p>I am using the code</p>

<p>Me.StartPosition = FormStartPosition.CenterScreen</p>

<p>Which is called from the IntializeDisplay Method, which in turn is called from the Form Load method.</p>

<p>I assume I'm setting some propertity along the way that messes up the center calculation, but I'm not sure what it could be.</p>

<p>If anyone has any ideas they would be much appreciated.</p>

<p>Thanks.</p>

Do you have any form resizing/positioning logic implemented? If so, comment it out and try again.
Try setting the
```
Form.StartPosition
```
in the designer (which will set it in
```
InitializeComponent()
```
) instead of in the Load event.
Try resetting the
```
Form.Location
```
and
```
Form.Size
```
value. If your form is localized, remove the
```
Form.Location
```
AND
```
Form.Size
```
entry in the resource file.