View Full Version : What is wrong with this vb code

02-09-2011, 08:39 PM
Im not sure if this is the correct forum to post this but what is wrong with this vb code

txtBox.Text += "There will be "(noOfBottles - 1).ToString + " bottles sitting on the wall" + vbNewLine + vbNewLine

if noOfBottles is 10 i want the line to read

There will be 9 bottles sitting on the wall

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum