0

Basically, I have this .exe I created with VB.net. Mainly as a little test program. It multiplies 2 numbers and gives the output in a 3rd text box. Nifty little thing. However, I want to center the .exe before it opens so it executes basically in the center of the screen (or monitor).

Like so: Multiplier

Any help is always appreciated. I'm looking for specific instructions, easy to understand. Thank you.

  • 1
    Don’t use the accepted answer in the duplicate; set the `StartPosition` from the designer as the second answer suggests. – Ry- Feb 16 '17 at 06:14

1 Answers1

0

Just add this line to your your New() method:

Me.StartPosition = FormStartPosition.CenterScreen
Icemanind
  • 47,519
  • 50
  • 171
  • 296