There are two methods
Method 1: For the VB3/VB4 version, you can add the following code to the Form_Load() program:
Me.Move(Screen.Width-Width)/2,(Screen.Height-Height)/2
Method 2:
For versions above VB5, just set the StartUpPosition of the Form to (2-center of the screen) ->