Then you probably don't need to center it. You need to resize it. You'll have to do additional math here if there are other controls on the form. This works well for a form that has only a text box or picture box or what have you. If you add a command button at the bottom, just subtract the height of the command button + one more BORDER.

VB Code:
  1. sub PositionControls
  2. CONST BORDER as SINGLE = 180
  3.  
  4. With myControl
  5.    .Move (BORDER, BORDER, ScaleWidth - (2 * BORDER), ScaleHeight -(2 * BORDER))
  6. end with
  7.  
  8. End Sub