in vb.net how do I stop visual studio converting integer in a string to Integer? code example Example: convert string to int vb.net Convert.toInt32(txtPrice.Text)