How to center a window
This simple pice of code prevents your windows from being opened somewhere on the screen. It will center
Select the following code with the mouse and copy it into the form_load procedure.
When the form is loaded at runtime, it will be centered on the screen.
---code begins here---
Top = (screen.Height - Height) \ 2
Left = (screen.Width - Width) \ 2
---code ends here---
Go back to my vb-page