Question : Messagebox in vb

How would I get the Messagebox raple in a if statement in VB?

If _var = "1" then'
MsgBox("Mlah", vbYesNoCancel", "Blah...:)

...=====get messagebox reply here........

Answer : Messagebox in vb

Example here
Dim CancelChanges As DialogResult = MessageBox.Show("Your changes will be lost, are you sure?", "Cancel Changes", MessageBoxButtons.YesNo, MessageBoxIcon.Question)
            If CancelChanges = Windows.Forms.DialogResult.No Then
                Exit Sub
            End If
Random Solutions  
 
programming4us programming4us