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 wasbut VB.Net doesn't seem to like it.VB Code:
Me.Move (Screen.Width - Me.Width) / 2, (Screen.Height - Me.Height) / 2
Could anyone please convert that VB6 code to VB.Net?
Thanks in advance.




Reply With Quote