I am casting from string to int using both the Val and CLng functions. The program must deal with 6 digit numbers and I was under the impression that CLng could handle these but I am getting the error,

Heres the code:

If txtRentalPrice.Text = "" Then
intRentalPrice = "0"
Else: intRentalPrice = CLng(Val(txtRentalPrice.Text))
End If

Any ideas? Thanks Mark