help with syntax for messagebox [resolved]
Code:
If MessageBox.Show(String.Format("QTY: {0} ; Book: {1} ; LANo: {2}", s0, s1, s2, "Confirm"), MessageBoxButtons.OKCancel, MessageBoxIcon.Question) = Windows.Forms.DialogResult.OK Then
Hi I have a , or ) misplaced. Does anyonw know how it should be done pls?
Re: help with syntax for messagebox
The ) after the "Confirm" should be before the "Confirm".
Re: help with syntax for messagebox
vb.net Code:
If MessageBox.Show(String.Format("QTY: {0} ; Book: {1} ; LANo: {2}", s0, s1, s2), "Confirm", MessageBoxButtons.OKCancel, MessageBoxIcon.Question) = Windows.Forms.DialogResult.OK Then
that better?
edit: damn beaten again
Re: help with syntax for messagebox