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