Thanks It works

Recommended Answers

All 2 Replies

If myDialog.ShowDialog() = DialogResult.OK Then
                    'perform action based on user response
                End If

Try that :) You call the the ShowDialog() method, then perform some action if the correct response is received.

Thank you, it works now.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.