Center Your Form When it Loads

Category:
Forms and Controls
Type:
Snippets
Difficulty:
Beginning
Author:
Anonymous

Version Compatibility: Visual Basic 6

More information:
This is a short snippet that will center your WinForm upon loading on the screen.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: