I don't see any centering property for a form, so I'm guessing that I'll have to use a code to do that.

In VB6, it was
VB Code:
  1. Me.Move (Screen.Width - Me.Width) / 2, (Screen.Height - Me.Height) / 2
but VB.Net doesn't seem to like it.

Could anyone please convert that VB6 code to VB.Net?

Thanks in advance.