I have a form that is called w/ ShowDialog. Inside that form, I want to pop a message box to ask the user a question, but it doesn't show.

Form:

Dim someFrame as myFrame = new myFrame
someFrame.ShowDialog()

Then, inside that form:

Dim ans As MsgBoxResult
ans = MsgBox(transarr(16), MsgBoxStyle.YesNo + MsgBoxStyle.SystemModal, "WARNING!")

If ans = MsgBoxResult.Yes Then
  'do something
Else
 'do something else
End If

Is this possible to get working?

Recommended Answers

All 2 Replies

>Is this possible to get working?
Yes.

>Is this possible to get working?
Yes.

And that would be how? (Not exactly the most helpful post)

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.