|
-
May 27th, 2008, 02:01 PM
#1
Thread Starter
Frenzied Member
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?
Last edited by angelica; May 27th, 2008 at 04:47 PM.
-
May 27th, 2008, 02:03 PM
#2
Re: help with syntax for messagebox
The ) after the "Confirm" should be before the "Confirm".
-
May 27th, 2008, 02:04 PM
#3
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
-
May 27th, 2008, 04:47 PM
#4
Thread Starter
Frenzied Member
Re: help with syntax for messagebox
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|