Windows Vista Form Explode Effect

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

Version Compatibility: Visual Basic 6, Visual Basic 5

More information:
With this sub procedure, you can mimic the form explode effect of Windows Vista, or the expand from menu to display effect that originated on the Mac. Simply call this method from Form_Load(), and for best view, set the StartUpPosition property to 2.

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

Declarations:

Code: