This document is archived and information here might be outdated. Recommended version.
Open dialog in modal.
[Visual Basic .NET] Public Sub DoModal ( _ ByVal hParent As Integer _ )
[C#] public void DoModal ( int hParent );