• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 139
  • Last Modified:

Simple Question....

How can I show a dialog-type form from an other form and the code after the dialog open call does not run until the dialog window is closed?  Is there another way besides putting the code inside the close button in the dialog?
0
Sieger
Asked:
Sieger
1 Solution
 
Erick37Commented:
Show the form modally, then the code following the Show command will not run until the form is closed:

Private Sub Command1_Click()
    Form2.Show vbModal, Me
    Beep
End Sub
0
 
SiegerAuthor Commented:
thanks
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now